mirror of https://github.com/python/cpython
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:
parent
4281258b5f
commit
777dcc6b21
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue