MCPcopy Index your code
hub / github.com/RustPython/RustPython / __init__

Method __init__

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

Source from the content-addressed store, hash-verified

5621 self.b = b
5622 return self
5623 def __init__(self, *args):
5624 super().__init__()
5625 # This helps testing that __init__ is not called during the
5626 # unpickling process, which would cause extra appends.
5627 self.append("cheese")
5628 @classmethod
5629 def __getnewargs__(cls):
5630 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