MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / keys

Method keys

tools/python-3.11.9-amd64/Lib/weakref.py:218–224  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

216 yield k, v
217
218 def keys(self):
219 if self._pending_removals:
220 self._commit_removals()
221 with _IterationGuard(self):
222 for k, wr in self.data.items():
223 if wr() is not None:
224 yield k
225
226 __iter__ = keys
227

Callers

nothing calls this directly

Calls 3

_commit_removalsMethod · 0.95
_IterationGuardClass · 0.90
itemsMethod · 0.45

Tested by

no test coverage detected