MCPcopy Index your code
hub / github.com/python/cpython / func

Method func

Lib/test/test_dis.py:1173–1177  ·  view source on GitHub ↗
(count)

Source from the content-addressed store, hash-verified

1171
1172 def test_big_linenos(self):
1173 def func(count):
1174 namespace = {}
1175 func = "def foo():\n " + "".join(["\n "] * count + ["spam\n"])
1176 exec(func, namespace)
1177 return namespace['foo']
1178
1179 # Test all small ranges
1180 for i in range(1, 300):

Callers 15

__call__Method · 0.45
__call__Method · 0.45
methodMethod · 0.45
test_range_dataMethod · 0.45
test_types_conservedMethod · 0.45
test_empty_dataMethod · 0.45
test_intsMethod · 0.45
test_floatsMethod · 0.45

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected