File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,7 +73,8 @@ \subsection{Cmd Objects}
7373\end {methoddesc }
7474
7575\begin {methoddesc }{precmd}{}
76- Hook method executed just before the input prompt is issued. This
76+ Hook method executed just before the command line is interpreted, but
77+ after the input prompt is generated and issued. This
7778method is a stub in \class {Cmd}; it exists to be overridden by
7879subclasses.
7980\end {methoddesc }
@@ -142,5 +143,8 @@ \subsection{Cmd Objects}
142143A flag, defaulting to true. If true, \method {cmdloop()} uses
143144\function {raw_input()} to display a prompt and read the next command;
144145if false, \function {sys.stdout.write()} and
145- \function {sys.stdin.readline()} are used.
146+ \function {sys.stdin.readline()} are used. (This means that by
147+ importing \module {readline}, on systems that support it, the
148+ interpreter will automatically support Emacs-like line editing
149+ and command-history keystrokes.)
146150\end {memberdesc }
You can’t perform that action at this time.
0 commit comments