summaryrefslogtreecommitdiffstats
path: root/Doc/reference/toplevel_components.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-31 09:38:49 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-31 09:38:49 (GMT)
commita4c8c47961305487ef6c40a6d882bb956f2c5a0b (patch)
treeade0c211dbcb38c39d91274d8ba6fdadd03bf8bc /Doc/reference/toplevel_components.rst
parent8ed75cd8e931c075c38246fbd50dd5f18defdba6 (diff)
downloadcpython-a4c8c47961305487ef6c40a6d882bb956f2c5a0b.zip
cpython-a4c8c47961305487ef6c40a6d882bb956f2c5a0b.tar.gz
cpython-a4c8c47961305487ef6c40a6d882bb956f2c5a0b.tar.bz2
#22613: remaining corrections in extending/reference docs (thanks Jacques Ducasse)
Diffstat (limited to 'Doc/reference/toplevel_components.rst')
-rw-r--r--Doc/reference/toplevel_components.rst12
1 files changed, 1 insertions, 11 deletions
diff --git a/Doc/reference/toplevel_components.rst b/Doc/reference/toplevel_components.rst
index f4bc71f..e1687ff 100644
--- a/Doc/reference/toplevel_components.rst
+++ b/Doc/reference/toplevel_components.rst
@@ -97,20 +97,10 @@ Expression input
================
.. index:: single: input
-
.. index:: builtin: eval
-There are two forms of expression input. Both ignore leading whitespace. The
+:func:`eval` is used for expression input. It ignores leading whitespace. The
string argument to :func:`eval` must have the following form:
.. productionlist::
eval_input: `expression_list` NEWLINE*
-
-.. index::
- object: file
- single: input; raw
- single: readline() (file method)
-
-Note: to read 'raw' input line without interpretation, you can use the
-:meth:`readline` method of file objects, including ``sys.stdin``.
-