]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Oops.
authorGeorg Brandl <georg@python.org>
Wed, 12 Sep 2007 21:32:27 +0000 (21:32 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 12 Sep 2007 21:32:27 +0000 (21:32 +0000)
Doc/library/functions.rst

index 5f315d87698713f1dcbb92c4ab9424dd4471b23c..b5061fd63ce13c3009e92cc0d9ccd375cbc0df12 100644 (file)
@@ -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.