From: Raymond Hettinger Date: Thu, 2 Feb 2012 08:52:33 +0000 (-0800) Subject: Clean-up docs for input() X-Git-Tag: v2.7.3rc1~102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65de77ed9e685b2b8d928ff9f7e071f090d82029;p=python Clean-up docs for input() --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 3845f1960c..5f7bf4d276 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -592,12 +592,9 @@ available. They are listed here in alphabetical order. Equivalent to ``eval(raw_input(prompt))``. - .. note:: - - This function does not catch user errors. It expects a valid Python - expression as input. If the input is not syntactically valid, a - :exc:`SyntaxError` will be raised. Other exceptions may be raised if there - is an error during evaluation. + This function does not catch user errors. If the input is not syntactically + valid, a :exc:`SyntaxError` will be raised. Other exceptions may be raised if + there is an error during evaluation. If the :mod:`readline` module was loaded, then :func:`input` will use it to provide elaborate line editing and history features.