From: Georg Brandl Date: Wed, 17 Jun 2009 10:03:58 +0000 (+0000) Subject: Merged revisions 73462-73463 via svnmerge from X-Git-Tag: v3.1~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e810e5a03d49ce59374f70e9339be2f9d4f9729f;p=python 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. ........ --- diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst index 03f8f8cb4a..bb750ba8a8 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])