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

Class A

Lib/test/test_capi/test_opt.py:1531–1536  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1529 # Minimized from mdp.py benchmark
1530
1531 class A:
1532 def __init__(self):
1533 self.attr = {}
1534
1535 def method(self, arg):
1536 self.attr[arg] = None
1537
1538 def fn(a):
1539 for _ in range(100):

Callers 2

testfuncMethod · 0.70

Calls

no outgoing calls

Tested by 2

testfuncMethod · 0.56