gh-109266: Fix msvcrt.kbhit's documented return value (GH-109267)

This commit is contained in:
AN Long 2023-09-12 22:44:48 +08:00 committed by GitHub
parent 42ab2cbd7b
commit e121fca33b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View file

@ -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()