mirror of
https://github.com/python/cpython.git
synced 2025-11-10 22:36:18 +00:00
Logical markup.
This commit is contained in:
parent
bd9ded8190
commit
f90dbc9c87
2 changed files with 16 additions and 16 deletions
|
|
@ -5,7 +5,7 @@
|
||||||
\setindexsubitem{(in module macconsole)}
|
\setindexsubitem{(in module macconsole)}
|
||||||
|
|
||||||
This module is available on the Macintosh, provided Python has been
|
This module is available on the Macintosh, provided Python has been
|
||||||
built using the Think C compiler. It provides an interface to the
|
built using the Think \C{} compiler. It provides an interface to the
|
||||||
Think console package, with which basic text windows can be created.
|
Think console package, with which basic text windows can be created.
|
||||||
|
|
||||||
\begin{datadesc}{options}
|
\begin{datadesc}{options}
|
||||||
|
|
@ -17,10 +17,10 @@ see below.
|
||||||
\dataline{C_NOECHO}
|
\dataline{C_NOECHO}
|
||||||
\dataline{C_CBREAK}
|
\dataline{C_CBREAK}
|
||||||
\dataline{C_RAW}
|
\dataline{C_RAW}
|
||||||
Options for the \code{setmode} method. \var{C_ECHO} and \var{C_CBREAK}
|
Options for the \code{setmode} method. \constant{C_ECHO} and
|
||||||
enable character echo, the other two disable it, \var{C_ECHO} and
|
\constant{C_CBREAK} enable character echo, the other two disable it,
|
||||||
\var{C_NOECHO} enable line-oriented input (erase/kill processing,
|
\constant{C_ECHO} and \constant{C_NOECHO} enable line-oriented input
|
||||||
etc).
|
(erase/kill processing, etc).
|
||||||
\end{datadesc}
|
\end{datadesc}
|
||||||
|
|
||||||
\begin{funcdesc}{copen}{}
|
\begin{funcdesc}{copen}{}
|
||||||
|
|
@ -67,14 +67,14 @@ If set non-zero, the window will wait for user action before closing.
|
||||||
|
|
||||||
\begin{datadesc}{file}
|
\begin{datadesc}{file}
|
||||||
The file object corresponding to this console window. If the file is
|
The file object corresponding to this console window. If the file is
|
||||||
buffered, you should call \code{file.flush()} between \code{write()}
|
buffered, you should call \code{\var{file}.flush()} between
|
||||||
and \code{read()} calls.
|
\code{write()} and \code{read()} calls.
|
||||||
\end{datadesc}
|
\end{datadesc}
|
||||||
|
|
||||||
\setindexsubitem{(console window method)}
|
\setindexsubitem{(console window method)}
|
||||||
|
|
||||||
\begin{funcdesc}{setmode}{mode}
|
\begin{funcdesc}{setmode}{mode}
|
||||||
Set the input mode of the console to \var{C_ECHO}, etc.
|
Set the input mode of the console to \constant{C_ECHO}, etc.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{settabs}{n}
|
\begin{funcdesc}{settabs}{n}
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
\setindexsubitem{(in module macconsole)}
|
\setindexsubitem{(in module macconsole)}
|
||||||
|
|
||||||
This module is available on the Macintosh, provided Python has been
|
This module is available on the Macintosh, provided Python has been
|
||||||
built using the Think C compiler. It provides an interface to the
|
built using the Think \C{} compiler. It provides an interface to the
|
||||||
Think console package, with which basic text windows can be created.
|
Think console package, with which basic text windows can be created.
|
||||||
|
|
||||||
\begin{datadesc}{options}
|
\begin{datadesc}{options}
|
||||||
|
|
@ -17,10 +17,10 @@ see below.
|
||||||
\dataline{C_NOECHO}
|
\dataline{C_NOECHO}
|
||||||
\dataline{C_CBREAK}
|
\dataline{C_CBREAK}
|
||||||
\dataline{C_RAW}
|
\dataline{C_RAW}
|
||||||
Options for the \code{setmode} method. \var{C_ECHO} and \var{C_CBREAK}
|
Options for the \code{setmode} method. \constant{C_ECHO} and
|
||||||
enable character echo, the other two disable it, \var{C_ECHO} and
|
\constant{C_CBREAK} enable character echo, the other two disable it,
|
||||||
\var{C_NOECHO} enable line-oriented input (erase/kill processing,
|
\constant{C_ECHO} and \constant{C_NOECHO} enable line-oriented input
|
||||||
etc).
|
(erase/kill processing, etc).
|
||||||
\end{datadesc}
|
\end{datadesc}
|
||||||
|
|
||||||
\begin{funcdesc}{copen}{}
|
\begin{funcdesc}{copen}{}
|
||||||
|
|
@ -67,14 +67,14 @@ If set non-zero, the window will wait for user action before closing.
|
||||||
|
|
||||||
\begin{datadesc}{file}
|
\begin{datadesc}{file}
|
||||||
The file object corresponding to this console window. If the file is
|
The file object corresponding to this console window. If the file is
|
||||||
buffered, you should call \code{file.flush()} between \code{write()}
|
buffered, you should call \code{\var{file}.flush()} between
|
||||||
and \code{read()} calls.
|
\code{write()} and \code{read()} calls.
|
||||||
\end{datadesc}
|
\end{datadesc}
|
||||||
|
|
||||||
\setindexsubitem{(console window method)}
|
\setindexsubitem{(console window method)}
|
||||||
|
|
||||||
\begin{funcdesc}{setmode}{mode}
|
\begin{funcdesc}{setmode}{mode}
|
||||||
Set the input mode of the console to \var{C_ECHO}, etc.
|
Set the input mode of the console to \constant{C_ECHO}, etc.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{funcdesc}{settabs}{n}
|
\begin{funcdesc}{settabs}{n}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue