]> granicus.if.org Git - python/commitdiff
#6295: clarify blocking behavior of getch().
authorGeorg Brandl <georg@python.org>
Wed, 17 Jun 2009 09:36:21 +0000 (09:36 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 17 Jun 2009 09:36:21 +0000 (09:36 +0000)
Doc/library/curses.rst

index c3f1c51040a715e351fb2026e75d42792230219c..01689a23a86b458674f4195c70e88914b3646f4b 100644 (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])