mirror of
https://github.com/python/cpython.git
synced 2026-01-31 07:05:24 +00:00
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:
|
||||
|
||||
\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__}.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user