MCPcopy Create free account
hub / github.com/ipython/ipython / readline

Method readline

IPython/core/tests/test_debugger.py:40–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 self.lines = iter(lines)
39
40 def readline(self):
41 line = next(self.lines)
42 print(line)
43 return line+'\n'
44
45class PdbTestInput(object):
46 """Context manager that makes testing Pdb in doctests easier."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected