summaryrefslogtreecommitdiffstats
path: root/Doc/library/functions.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-09-12 21:32:27 (GMT)
committerGeorg Brandl <georg@python.org>2007-09-12 21:32:27 (GMT)
commit7b4694231bb3db77d017364e77ca7db9d71674dc (patch)
treed06cc2295e4d51bfb4fd3cd1addb1544e595e8b6 /Doc/library/functions.rst
parentc09029889ab39120bdaf568ae873a2c40ac16925 (diff)
downloadcpython-7b4694231bb3db77d017364e77ca7db9d71674dc.zip
cpython-7b4694231bb3db77d017364e77ca7db9d71674dc.tar.gz
cpython-7b4694231bb3db77d017364e77ca7db9d71674dc.tar.bz2
Oops.
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r--Doc/library/functions.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 5f315d8..b5061fd 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -531,12 +531,12 @@ available. They are listed here in alphabetical order.
to a string (stripping a trailing newline), and returns that. When EOF is
read, :exc:`EOFError` is raised. Example::
- >>> s = raw_input('--> ')
+ >>> s = input('--> ')
--> Monty Python's Flying Circus
>>> s
"Monty Python's Flying Circus"
- If the :mod:`readline` module was loaded, then :func:`raw_input` will use it
+ If the :mod:`readline` module was loaded, then :func:`input` will use it
to provide elaborate line editing and history features.