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

Method readline

tools/python-3.11.9-amd64/Lib/fileinput.py:290–299  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

288 self._isstdin = False
289
290 def readline(self):
291 while True:
292 line = self._readline()
293 if line:
294 self._filelineno += 1
295 return line
296 if not self._file:
297 return line
298 self.nextfile()
299 # repeat with next file
300
301 def _readline(self):
302 if not self._files:

Callers

nothing calls this directly

Calls 2

_readlineMethod · 0.95
nextfileMethod · 0.95

Tested by

no test coverage detected