MCPcopy Index your code
hub / github.com/RustPython/RustPython / iteritems

Method iteritems

Lib/mailbox.py:122–129  ·  view source on GitHub ↗

Return an iterator over (key, message) tuples.

(self)

Source from the content-addressed store, hash-verified

120 return list(self.itervalues())
121
122 def iteritems(self):
123 """Return an iterator over (key, message) tuples."""
124 for key in self.iterkeys():
125 try:
126 value = self[key]
127 except KeyError:
128 continue
129 yield (key, value)
130
131 def items(self):
132 """Return a list of (key, message) tuples. Memory intensive."""

Callers 3

itemsMethod · 0.95
test_notimplementedMethod · 0.95
updateMethod · 0.45

Calls 1

iterkeysMethod · 0.95

Tested by 1

test_notimplementedMethod · 0.76