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

Class A

Lib/test/test_opcache.py:1504–1507  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1502 """Ensure that LOAD_SUPER_ATTR is specialized as expected."""
1503
1504 class A:
1505 def __init__(self):
1506 meth = super().__init__
1507 super().__init__()
1508
1509 for _ in range(_testinternalcapi.SPECIALIZATION_THRESHOLD):
1510 A()

Callers 2

make_special_dictMethod · 0.70
test_load_super_attrMethod · 0.70

Calls

no outgoing calls

Tested by 2

make_special_dictMethod · 0.56
test_load_super_attrMethod · 0.56