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

Method push_char

Lib/_pyrepl/reader.py:751–753  ·  view source on GitHub ↗
(self, char: int | bytes)

Source from the content-addressed store, hash-verified

749 return True
750
751 def push_char(self, char: int | bytes) -> None:
752 self.console.push_char(char)
753 self.handle1(block=False)
754
755 def readline(self, startup_hook: Callback | None = None) -> str:
756 """Read a line. The implementation of this method also shows

Callers

nothing calls this directly

Calls 1

handle1Method · 0.95

Tested by

no test coverage detected