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

Class C

Lib/test/test_free_threading/test_races.py:104–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 """Test (un)specialization of LOAD_SUPER_ATTR opcode."""
103
104 class C:
105 def __init__(self):
106 try:
107 super().__init__
108 super().__init__()
109 except RuntimeError:
110 pass # happens if __class__ is replaced with non-type
111
112 def access():
113 C()

Callers 7

accessMethod · 0.70
mutateMethod · 0.70
make_shared_key_dictMethod · 0.70

Calls

no outgoing calls

Tested by 7

accessMethod · 0.56
mutateMethod · 0.56
make_shared_key_dictMethod · 0.56