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

Method keys

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

Source from the content-addressed store, hash-verified

370 yield key, value
371
372 def keys(self):
373 for wr in self.data.copy():
374 obj = wr()
375 if obj is not None:
376 yield obj
377
378 __iter__ = keys
379

Calls 1

copyMethod · 0.45

Tested by 2