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

Method iterkeys

tools/python-3.11.9-amd64/Lib/mailbox.py:398–406  ·  view source on GitHub ↗

Return an iterator over keys.

(self)

Source from the content-addressed store, hash-verified

396 return _ProxyFile(f)
397
398 def iterkeys(self):
399 """Return an iterator over keys."""
400 self._refresh()
401 for key in self._toc:
402 try:
403 self._lookup(key)
404 except KeyError:
405 continue
406 yield key
407
408 def __contains__(self, key):
409 """Return True if the keyed message exists, False otherwise."""

Callers 1

nextMethod · 0.95

Calls 2

_refreshMethod · 0.95
_lookupMethod · 0.95

Tested by

no test coverage detected