MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / __iter__

Method __iter__

tools/python-3.11.9-amd64/Lib/mailbox.py:1958–1964  ·  view source on GitHub ↗

Iterate over lines.

(self)

Source from the content-addressed store, hash-verified

1956 return result
1957
1958 def __iter__(self):
1959 """Iterate over lines."""
1960 while True:
1961 line = self.readline()
1962 if not line:
1963 return
1964 yield line
1965
1966 def tell(self):
1967 """Return the position."""

Callers

nothing calls this directly

Calls 1

readlineMethod · 0.95

Tested by

no test coverage detected