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:
Guido van Rossum 2001-03-24 19:17:35 +00:00
parent 1ad37bb508
commit c8da0f966f
1 changed files with 6 additions and 1 deletions

View File

@ -138,4 +138,9 @@ headers. If empty, no ruler line is drawn. It defaults to
\character{=}.
\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}