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

Method _read_input

Lib/_pyrepl/windows_console.py:406–412  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

404 return info.srWindow.Bottom # type: ignore[no-any-return]
405
406 def _read_input(self) -> INPUT_RECORD | None:
407 rec = INPUT_RECORD()
408 read = DWORD()
409 if not ReadConsoleInput(InHandle, rec, 1, read):
410 raise WinError(get_last_error())
411
412 return rec
413
414 def _read_input_bulk(
415 self, n: int

Callers 1

get_eventMethod · 0.95

Calls 3

WinErrorFunction · 0.90
INPUT_RECORDClass · 0.85
get_last_errorFunction · 0.85

Tested by

no test coverage detected