summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2000-12-26 15:58:27 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2000-12-26 15:58:27 (GMT)
commite6bf85845f7f95bf0839247f7caf4ecadee109ac (patch)
treea51566fede96b6d49691a07e3d9713cf5734b65f
parentcaefb37ee1790bdcfe735f782759563cd59e174a (diff)
downloadcpython-e6bf85845f7f95bf0839247f7caf4ecadee109ac.zip
cpython-e6bf85845f7f95bf0839247f7caf4ecadee109ac.tar.gz
cpython-e6bf85845f7f95bf0839247f7caf4ecadee109ac.tar.bz2
Document ERR and OK
-rw-r--r--Doc/lib/libcurses.tex11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/lib/libcurses.tex b/Doc/lib/libcurses.tex
index 802a9f9..00dec6d 100644
--- a/Doc/lib/libcurses.tex
+++ b/Doc/lib/libcurses.tex
@@ -1026,6 +1026,17 @@ length \var{n} consisting of the character \var{ch}.
The \module{curses} module defines the following data members:
+\begin{datadesc}{ERR}
+Some curses routines that return an integer, such as
+\function{getch()}, return ERR upon failure.
+\end{datadesc}
+
+\begin{datadesc}{OK}
+Some curses routines that return an integer, such as
+\function{napms()}, return OK upon success.
+
+\end{datadesc}
+
\begin{datadesc}{version}
A string representing the current version of the module.
Also available as \constant{__version__}.