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

Method __next__

Lib/_pyio.py:2619–2626  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2617 return result
2618
2619 def __next__(self):
2620 self._telling = False
2621 line = self.readline()
2622 if not line:
2623 self._snapshot = None
2624 self._telling = self._seekable
2625 raise StopIteration
2626 return line
2627
2628 def readline(self, size=None):
2629 if self.closed:

Callers

nothing calls this directly

Calls 1

readlineMethod · 0.95

Tested by

no test coverage detected