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

Method readline

Lib/test/test_remote_pdb.py:52–56  ·  view source on GitHub ↗

Read a line from the prepared input queue.

(self)

Source from the content-addressed store, hash-verified

50 pass
51
52 def readline(self) -> bytes:
53 """Read a line from the prepared input queue."""
54 if not self.input_queue:
55 return b""
56 return self.input_queue.pop(0)
57
58 def close(self) -> None:
59 """Close the mock socket file."""

Callers 5

_read_until_promptMethod · 0.45
test_protocol_versionMethod · 0.45
test_help_systemMethod · 0.45

Calls 1

popMethod · 0.45

Tested by

no test coverage detected