mirror of
https://github.com/python/cpython.git
synced 2025-09-24 17:33:29 +00:00
gh-109266: Fix msvcrt.kbhit's documented return value (GH-109267)
This commit is contained in:
parent
42ab2cbd7b
commit
e121fca33b
3 changed files with 6 additions and 5 deletions
|
@ -98,7 +98,8 @@ Console I/O
|
|||
|
||||
.. function:: kbhit()
|
||||
|
||||
Return ``True`` if a keypress is waiting to be read.
|
||||
Returns a nonzero value if a keypress is waiting to be read. Otherwise,
|
||||
return 0.
|
||||
|
||||
|
||||
.. function:: getch()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue