MCPcopy Create free account
hub / github.com/pytest-dev/pytest / __iter__

Method __iter__

src/_pytest/_code/source.py:66–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 return newsource
65
66 def __iter__(self) -> Iterator[str]:
67 return iter(self.lines)
68
69 def __len__(self) -> int:
70 return len(self.lines)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected