#6295: clarify blocking behavior of getch().

This commit is contained in:
Georg Brandl 2009-06-17 09:36:21 +00:00
parent cdcd4bff12
commit 2fcf389e10
1 changed files with 2 additions and 1 deletions

View File

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