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

Method __iter__

Lib/os.py:727–731  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

725 raise KeyError(key) from None
726
727 def __iter__(self):
728 # list() from dict object is an atomic operation
729 keys = list(self._data)
730 for key in keys:
731 yield self.decodekey(key)
732
733 def __len__(self):
734 return len(self._data)

Callers

nothing calls this directly

Calls 1

listClass · 0.85

Tested by

no test coverage detected