mirror of https://github.com/python/cpython
Document ERR and OK
This commit is contained in:
parent
caefb37ee1
commit
e6bf85845f
|
@ -1026,6 +1026,17 @@ length \var{n} consisting of the character \var{ch}.
|
||||||
|
|
||||||
The \module{curses} module defines the following data members:
|
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}
|
\begin{datadesc}{version}
|
||||||
A string representing the current version of the module.
|
A string representing the current version of the module.
|
||||||
Also available as \constant{__version__}.
|
Also available as \constant{__version__}.
|
||||||
|
|
Loading…
Reference in New Issue