[Python-checkins] r73462 - python/trunk/Doc/library/curses.rst

georg.brandl python-checkins at python.org
Wed Jun 17 11:36:22 CEST 2009


Author: georg.brandl
Date: Wed Jun 17 11:36:21 2009
New Revision: 73462

Log:
#6295: clarify blocking behavior of getch().

Modified:
   python/trunk/Doc/library/curses.rst

Modified: python/trunk/Doc/library/curses.rst
==============================================================================
--- python/trunk/Doc/library/curses.rst	(original)
+++ python/trunk/Doc/library/curses.rst	Wed Jun 17 11:36:21 2009
@@ -796,7 +796,8 @@
 
    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])


More information about the Python-checkins mailing list