mirror of https://github.com/python/cpython
#6295: clarify blocking behavior of getch().
This commit is contained in:
parent
cdcd4bff12
commit
2fcf389e10
|
@ -796,7 +796,8 @@ the following methods:
|
|||
|
||||
Get a character. Note that the integer returned does *not* have to be in ASCII
|
||||
range: function keys, keypad keys and so on return numbers higher than 256. In
|
||||
no-delay mode, -1 is returned if there is no input.
|
||||
no-delay mode, -1 is returned if there is no input, else :func:`getch` waits
|
||||
until a key is pressed.
|
||||
|
||||
|
||||
.. method:: window.getkey([y, x])
|
||||
|
|
Loading…
Reference in New Issue