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

Method __init__

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

Source from the content-addressed store, hash-verified

5002 # See bug #1469629
5003 class X(dict):
5004 def __init__(self):
5005 dict.__init__(self)
5006 self.__dict__ = self
5007 x = X()
5008 x.attr = 42
5009 wr = weakref.ref(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected