summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-17 09:36:21 (GMT)
committerGeorg Brandl <georg@python.org>2009-06-17 09:36:21 (GMT)
commit2fcf389e10c66564edec01188c08c43d11549287 (patch)
tree54b68f4f2d4ff4c2773335e721153f1aedeca311 /Doc/library
parentcdcd4bff129f84e10e493782d319cea1a31f9162 (diff)
downloadcpython-2fcf389e10c66564edec01188c08c43d11549287.zip
cpython-2fcf389e10c66564edec01188c08c43d11549287.tar.gz
cpython-2fcf389e10c66564edec01188c08c43d11549287.tar.bz2
#6295: clarify blocking behavior of getch().
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/curses.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst
index c3f1c51..01689a2 100644
--- a/Doc/library/curses.rst
+++ b/Doc/library/curses.rst
@@ -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])