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

Method items

Lib/weakref.py:173–177  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

171 return o
172
173 def items(self):
174 for k, wr in self.data.copy().items():
175 v = wr()
176 if v is not None:
177 yield k, v
178
179 def keys(self):
180 for k, wr in self.data.copy().items():

Callers 2

test_weak_valuesMethod · 0.95

Calls 2

itemsMethod · 0.45
copyMethod · 0.45

Tested by 2

test_weak_valuesMethod · 0.76