From: Andrew M. Kuchling Date: Wed, 6 Nov 2002 14:17:21 +0000 (+0000) Subject: [Patch #633635 from David M. Cooke] X-Git-Tag: v2.3c1~3545 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e3fb22bd4a0555fc059fb7260964b03bd667a45d;p=thirdparty%2FPython%2Fcpython.git [Patch #633635 from David M. Cooke] Make docs accurate; getch() in nodelay mode returns -1 --- diff --git a/Doc/lib/libcurses.tex b/Doc/lib/libcurses.tex index 1f6f4c3d31e4..40711f3c6388 100644 --- a/Doc/lib/libcurses.tex +++ b/Doc/lib/libcurses.tex @@ -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}