mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Document ERR and OK
This commit is contained in:
parent
caefb37ee1
commit
e6bf85845f
1 changed files with 11 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue