From: Guido van Rossum Date: Sat, 24 Mar 2001 19:17:35 +0000 (+0000) Subject: Document use_rawinput. (Although now that I think more about it, a X-Git-Tag: v2.1c1~241 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c8da0f966fd5362383e638c586c34e05e9652025;p=python 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...) --- diff --git a/Doc/lib/libcmd.tex b/Doc/lib/libcmd.tex index 37e08a2933..e38fc241c7 100644 --- a/Doc/lib/libcmd.tex +++ b/Doc/lib/libcmd.tex @@ -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}