]> granicus.if.org Git - python/commitdiff
Clean-up docs for input()
authorRaymond Hettinger <python@rcn.com>
Thu, 2 Feb 2012 08:52:33 +0000 (00:52 -0800)
committerRaymond Hettinger <python@rcn.com>
Thu, 2 Feb 2012 08:52:33 +0000 (00:52 -0800)
Doc/library/functions.rst

index 3845f1960c467582fdd2a888ece06208f922aada..5f7bf4d27664ef63775a67185699e43d63f58c8c 100644 (file)
@@ -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.