Change the description of input() -- it is exactly equivalent to

eval(raw_input(s)).  The statement about breaking a long expression
over multiple lines is no longer true.
This commit is contained in:
Guido van Rossum 1998-06-17 15:16:40 +00:00
parent 4281258b5f
commit 777dcc6b21
1 changed files with 1 additions and 5 deletions

View File

@ -273,11 +273,7 @@ module from which it is called).
\end{funcdesc}
\begin{funcdesc}{input}{\optional{prompt}}
Almost equivalent to \code{eval(raw_input(\var{prompt}))}. Like
\function{raw_input()}, the \var{prompt} argument is optional, and the
\module{readline} module is used when loaded. The difference
is that a long input expression may be broken over multiple lines using
the backslash convention.
Equivalent to \code{eval(raw_input(\var{prompt}))}.
\end{funcdesc}
\begin{funcdesc}{intern}{string}