From: Georg Brandl Date: Wed, 12 Sep 2007 21:32:27 +0000 (+0000) Subject: Oops. X-Git-Tag: v3.0a2~391 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b4694231bb3db77d017364e77ca7db9d71674dc;p=thirdparty%2FPython%2Fcpython.git Oops. --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 5f315d876987..b5061fd63ce1 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.