]> granicus.if.org Git - python/commitdiff
Document ERR and OK
authorAndrew M. Kuchling <amk@amk.ca>
Tue, 26 Dec 2000 15:58:27 +0000 (15:58 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Tue, 26 Dec 2000 15:58:27 +0000 (15:58 +0000)
Doc/lib/libcurses.tex

index 802a9f9b82b725ae98493de36a6c79f6cd119ba7..00dec6df38b76879730923e9879ebb41ed721769 100644 (file)
@@ -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__}.