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

Method iterkeys

Lib/mailbox.py:684–687  ·  view source on GitHub ↗

Return an iterator over keys.

(self)

Source from the content-addressed store, hash-verified

682 self._pending = True
683
684 def iterkeys(self):
685 """Return an iterator over keys."""
686 self._lookup()
687 yield from self._toc.keys()
688
689 def __contains__(self, key):
690 """Return True if the keyed message exists, False otherwise."""

Callers

nothing calls this directly

Calls 2

_lookupMethod · 0.95
keysMethod · 0.45

Tested by

no test coverage detected