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

Method keys

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

Source from the content-addressed store, hash-verified

177 yield k, v
178
179 def keys(self):
180 for k, wr in self.data.copy().items():
181 if wr() is not None:
182 yield k
183
184 __iter__ = keys
185

Calls 2

itemsMethod · 0.45
copyMethod · 0.45