Kaydet (Commit) 65de77ed authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Clean-up docs for input()

üst 6d837a37
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment