mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Document use_rawinput. (Although now that I think more about it, a
better solution would have been to factor out the raw_input() call and make it into an overridable method. Oh well, maybe later...)
This commit is contained in:
parent
1ad37bb508
commit
c8da0f966f
1 changed files with 6 additions and 1 deletions
|
|
@ -138,4 +138,9 @@ headers. If empty, no ruler line is drawn. It defaults to
|
||||||
\character{=}.
|
\character{=}.
|
||||||
\end{memberdesc}
|
\end{memberdesc}
|
||||||
|
|
||||||
|
\begin{memberdesc}{use_rawinput}
|
||||||
|
A flag, defaulting to true. If true, \method{cmdloop()} uses
|
||||||
|
\function{raw_input()} to display a prompt and read the next command;
|
||||||
|
if false, \function{sys.stdout.write()} and
|
||||||
|
\function{sys.stdin.readline()} are used.
|
||||||
|
\end{memberdesc}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue