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

Method __init__

Lib/test/test_descr.py:5239–5240  ·  view source on GitHub ↗
(self, foo, kw=0, *args, **kwargs)

Source from the content-addressed store, hash-verified

5237 return object.__new__(cls, *args, **kwds)
5238 class OverrideInit:
5239 def __init__(self, foo, kw=0, *args, **kwargs):
5240 return object.__init__(self, *args, **kwargs)
5241 class OverrideBoth(OverrideNew, OverrideInit):
5242 pass
5243 for case in OverrideNew, OverrideInit, OverrideBoth:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected