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

Function get_last_error

Lib/_pyrepl/windows_console.py:51–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 from ctypes import CDLL as WinDLL, cdll as windll
50
51 def get_last_error() -> int:
52 return 42
53
54 class WinError(OSError): # type: ignore[no-redef]
55 def __init__(self, err: int | None, descr: str | None = None) -> None:

Callers 11

__init__Method · 0.85
_scrollMethod · 0.85
screen_xyMethod · 0.85
prepareMethod · 0.85
restoreMethod · 0.85
getheightwidthMethod · 0.85
_getscrollbacksizeMethod · 0.85
_read_inputMethod · 0.85
_read_input_bulkMethod · 0.85
forgetinputMethod · 0.85
wait_for_eventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…