[Python-checkins] CVS: python/dist/src/Doc/lib libcmd.tex,1.6,1.7
Guido van Rossum
gvanrossum@users.sourceforge.net
Sat, 24 Mar 2001 11:17:38 -0800
Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv6166
Modified Files:
libcmd.tex
Log Message:
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...)
Index: libcmd.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libcmd.tex,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** libcmd.tex 2000/10/10 17:03:45 1.6
--- libcmd.tex 2001/03/24 19:17:35 1.7
***************
*** 139,141 ****
\end{memberdesc}
!
--- 139,146 ----
\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}