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

Method __init__

Lib/test/test_descr.py:5860–5864  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

5858 self.b = b
5859 return self
5860 def __init__(self, *args):
5861 super().__init__()
5862 # This helps testing that __init__ is not called during the
5863 # unpickling process, which would cause extra appends.
5864 self.append("cheese")
5865 @classmethod
5866 def __getnewargs__(cls):
5867 return cls.ARGS

Callers

nothing calls this directly

Calls 3

superClass · 0.85
__init__Method · 0.45
appendMethod · 0.45

Tested by

no test coverage detected