summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libcurses.tex
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2002-11-06 14:17:21 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2002-11-06 14:17:21 (GMT)
commite3fb22bd4a0555fc059fb7260964b03bd667a45d (patch)
tree0b87183c50d2e3b8f284eaadfaff3f752df88b88 /Doc/lib/libcurses.tex
parent7e23f00948a0157452c3a76ef1057fd494e48832 (diff)
downloadcpython-e3fb22bd4a0555fc059fb7260964b03bd667a45d.zip
cpython-e3fb22bd4a0555fc059fb7260964b03bd667a45d.tar.gz
cpython-e3fb22bd4a0555fc059fb7260964b03bd667a45d.tar.bz2
[Patch #633635 from David M. Cooke]
Make docs accurate; getch() in nodelay mode returns -1
Diffstat (limited to 'Doc/lib/libcurses.tex')
-rw-r--r--Doc/lib/libcurses.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/lib/libcurses.tex b/Doc/lib/libcurses.tex
index 1f6f4c3..40711f3 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}