From: Andrew M. Kuchling Date: Tue, 26 Dec 2000 15:58:27 +0000 (+0000) Subject: Document ERR and OK X-Git-Tag: v2.1a1~483 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e6bf85845f7f95bf0839247f7caf4ecadee109ac;p=python Document ERR and OK --- diff --git a/Doc/lib/libcurses.tex b/Doc/lib/libcurses.tex index 802a9f9b82..00dec6df38 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__}.