From 65de77ed9e685b2b8d928ff9f7e071f090d82029 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Thu, 2 Feb 2012 00:52:33 -0800 Subject: [PATCH] Clean-up docs for input() --- Doc/library/functions.rst | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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. -- 2.50.1