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

Method __iter__

Doc/tools/extensions/audit_events.py:38–41  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36 self.sources: dict[str, set[tuple[str, str]]] = {}
37
38 def __iter__(self) -> Iterator[tuple[str, list[str], tuple[str, str]]]:
39 for name, args in self.events.items():
40 for source in self.sources[name]:
41 yield name, args, source
42
43 def add_event(
44 self, name, args: list[str], source: tuple[str, str]

Callers

nothing calls this directly

Calls 1

itemsMethod · 0.45

Tested by

no test coverage detected