Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get
Method
get
Lib/weakref.py:356–357 ·
view source on GitHub ↗
(self, key, default=None)
Source
from the content-addressed store, hash-verified
354
return
new
355
356
def
get(self, key, default=None):
357
return
self.data.get(ref(key),default)
358
359
def
__contains__(self, key):
360
try
:
Callers
4
detach
Method · 0.45
peek
Method · 0.45
atexit
Method · 0.45
__repr__
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected