summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-08-25 05:22:44 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-08-25 05:22:44 (GMT)
commit664759cf19497b65f4c8ece4dd194e1c2beb73f1 (patch)
tree6cb66b074ad8e4929624898dc5e2bab6c3cdb637 /Doc
parent5acf4e563f598a77824014b3ab697f70815555db (diff)
parent1f8cc33f884e5d6f5d4f0724ce8b03a4044da5e9 (diff)
downloadcpython-664759cf19497b65f4c8ece4dd194e1c2beb73f1.zip
cpython-664759cf19497b65f4c8ece4dd194e1c2beb73f1.tar.gz
cpython-664759cf19497b65f4c8ece4dd194e1c2beb73f1.tar.bz2
Merge with 3.5
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/idle.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst
index 4a8c257..0b8171d 100644
--- a/Doc/library/idle.rst
+++ b/Doc/library/idle.rst
@@ -562,11 +562,13 @@ objects that get input from and send output to the Shell window.
When this window has the focus, it controls the keyboard and screen.
This is normally transparent, but functions that directly access the keyboard
and screen will not work. If ``sys`` is reset with ``importlib.reload(sys)``,
-IDLE's changes are lost and things li ke ``input``, ``raw_input``, and
+IDLE's changes are lost and things like ``input``, ``raw_input``, and
``print`` will not work correctly.
With IDLE's Shell, one enters, edits, and recalls complete statements.
-Some consoles only work with a single physical line at a time.
+Some consoles only work with a single physical line at a time. IDLE uses
+``exec`` to run each statement. As a result, ``'__builtins__'`` is always
+defined for each statement.
Running without a subprocess
^^^^^^^^^^^^^^^^^^^^^^^^^^^^