]> granicus.if.org Git - python/commitdiff
[Patch #633635 from David M. Cooke]
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 6 Nov 2002 14:17:21 +0000 (14:17 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 6 Nov 2002 14:17:21 +0000 (14:17 +0000)
    Make docs accurate; getch() in nodelay mode returns -1

Doc/lib/libcurses.tex

index 1f6f4c3d31e4a386009b9f984aca0ff93a75cf8f..40711f3c6388bf99d0c5b41cb837a1fda58144fb 100644 (file)
@@ -701,7 +701,7 @@ corner.
 \begin{methoddesc}[window]{getch}{\optional{x, y}}
 Get a character. Note that the integer returned does \emph{not} have to
 be in \ASCII{} range: function keys, keypad keys and so on return numbers
-higher than 256. In no-delay mode, an exception is raised if there is 
+higher than 256. In no-delay mode, -1 is returned if there is 
 no input.
 \end{methoddesc}