summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-06-17 15:16:40 (GMT)
committerGuido van Rossum <guido@python.org>1998-06-17 15:16:40 (GMT)
commit777dcc6b21573056ec51b5642ca989581140c4d9 (patch)
treed7f9071267b7093e14078589efdf15827318bddc /Doc
parent4281258b5fb67bb55c01d6a3593d5c43529204b1 (diff)
downloadcpython-777dcc6b21573056ec51b5642ca989581140c4d9.zip
cpython-777dcc6b21573056ec51b5642ca989581140c4d9.tar.gz
cpython-777dcc6b21573056ec51b5642ca989581140c4d9.tar.bz2
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.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libfuncs.tex6
1 files changed, 1 insertions, 5 deletions
diff --git a/Doc/lib/libfuncs.tex b/Doc/lib/libfuncs.tex
index 1345734..451c1a8 100644
--- a/Doc/lib/libfuncs.tex
+++ b/Doc/lib/libfuncs.tex
@@ -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}