]> granicus.if.org Git - python/commitdiff
Merged revisions 73462-73463 via svnmerge from
authorGeorg Brandl <georg@python.org>
Wed, 17 Jun 2009 10:03:58 +0000 (10:03 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 17 Jun 2009 10:03:58 +0000 (10:03 +0000)
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.
........

Doc/library/curses.rst

index 03f8f8cb4a557967e731746dda6cf7cb06bcd283..bb750ba8a80ff4d2ff3fc5fff837ea0eb5203674 100644 (file)
@@ -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])