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

Function f

Lib/test/test_inspect/inspect_fodder2.py:93–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91
92# line 92
93def f():
94 class X:
95 def g():
96 "doc"
97 return 42
98 return X
99method_in_dynamic_class = f().g
100
101#line 101

Callers 15

inspect_fodder2.pyFile · 0.70
wrapperFunction · 0.70
test_name_resolutionMethod · 0.70
gMethod · 0.70
test_dont_clear_dictMethod · 0.50
test_explicit_lockMethod · 0.50
test_filling_one_taskMethod · 0.50
test_runMethod · 0.50
test_recursive_runMethod · 0.50

Calls

no outgoing calls

Tested by 15

test_name_resolutionMethod · 0.56
gMethod · 0.56
test_dont_clear_dictMethod · 0.40
test_explicit_lockMethod · 0.40
test_filling_one_taskMethod · 0.40
test_runMethod · 0.40
test_recursive_runMethod · 0.40
test_rescheduleMethod · 0.40
test_sizesMethod · 0.40