summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-06-17 10:03:58 (GMT)
committerGeorg Brandl <georg@python.org>2009-06-17 10:03:58 (GMT)
commite810e5a03d49ce59374f70e9339be2f9d4f9729f (patch)
treeb7dadd00fead677195e47a9570340e72e648ac10 /Doc/library
parent5bc472a9a429ff051df9415e7a61046bcd78eb51 (diff)
downloadcpython-e810e5a03d49ce59374f70e9339be2f9d4f9729f.zip
cpython-e810e5a03d49ce59374f70e9339be2f9d4f9729f.tar.gz
cpython-e810e5a03d49ce59374f70e9339be2f9d4f9729f.tar.bz2
Merged revisions 73462-73463 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r73462 | georg.brandl | 2009-06-17 11:36:21 +0200 (Mi, 17 Jun 2009) | 1 line #6295: clarify blocking behavior of getch(). ........ r73463 | georg.brandl | 2009-06-17 11:43:31 +0200 (Mi, 17 Jun 2009) | 1 line #6255: document PyInt_FromSize_t. ........
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 03f8f8c..bb750ba 100644
--- a/Doc/library/curses.rst
+++ b/Doc/library/curses.rst
@@ -793,7 +793,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])