Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __init__
Method
__init__
Lib/test/test_descr.py:5217–5219 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
5215
# See bug #1469629
5216
class
X(dict):
5217
def
__init__(self):
5218
dict.__init__(self)
5219
self.__dict__ = self
5220
x = X()
5221
x.attr = 42
5222
wr = weakref.ref(x)
Callers
nothing calls this directly
Calls
1
__init__
Method · 0.45
Tested by
no test coverage detected