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

Class initarg

Lib/test/picklecommon.py:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82
83# For test_misc and test_getinitargs
84class initarg(C):
85
86 def __init__(self, a, b):
87 self.a = a
88 self.b = b
89
90 def __getinitargs__(self):
91 return self.a, self.b
92
93# For test_metaclass
94class metaclass(type):

Callers 2

test_miscMethod · 0.85
test_getinitargsMethod · 0.85

Calls

no outgoing calls

Tested by 2

test_miscMethod · 0.68
test_getinitargsMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…