Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ items
Method
items
Lib/weakref.py:366–370 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
364
return
wr in self.data
365
366
def
items(self):
367
for
wr, value in self.data.copy().items():
368
key = wr()
369
if
key is not None:
370
yield
key, value
371
372
def
keys(self):
373
for
wr in self.data.copy():
Callers
10
copy
Method · 0.45
__deepcopy__
Method · 0.45
items
Method · 0.45
keys
Method · 0.45
update
Method · 0.45
copy
Method · 0.45
__deepcopy__
Method · 0.45
values
Method · 0.45
update
Method · 0.45
_select_for_exit
Method · 0.45
Calls
1
copy
Method · 0.45
Tested by
no test coverage detected