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

Function _stdin_ready_nt

IPython/lib/inputhook.py:54–56  ·  view source on GitHub ↗

Return True if there's something to read on stdin (nt version).

()

Source from the content-addressed store, hash-verified

52 return bool(infds)
53
54def _stdin_ready_nt():
55 """Return True if there's something to read on stdin (nt version)."""
56 return msvcrt.kbhit()
57
58def _stdin_ready_other():
59 """Return True, assuming there's something to read on stdin."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected