diff options
author | Raymond Hettinger <python@rcn.com> | 2012-02-02 08:52:33 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2012-02-02 08:52:33 (GMT) |
commit | 65de77ed9e685b2b8d928ff9f7e071f090d82029 (patch) | |
tree | d62a05e786d0df2f47a1a679f7f1f8798d1e43f5 /Doc | |
parent | 6d837a376999edaa127bb94df80a363515753f81 (diff) | |
download | cpython-65de77ed9e685b2b8d928ff9f7e071f090d82029.zip cpython-65de77ed9e685b2b8d928ff9f7e071f090d82029.tar.gz cpython-65de77ed9e685b2b8d928ff9f7e071f090d82029.tar.bz2 |
Clean-up docs for input()
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/functions.rst | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 3845f19..5f7bf4d 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. |