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

Method __init__

Lib/test/test_descr.py:874–876  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

872 self.assertEqual(a.getstate(), 10)
873 class D(dict, C):
874 def __init__(self):
875 dict.__init__(self)
876 C.__init__(self)
877 d = D()
878 self.assertEqual(list(d.keys()), [])
879 d["hello"] = "world"

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected