summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2019-08-04 20:45:15 (GMT)
committerGitHub <noreply@github.com>2019-08-04 20:45:15 (GMT)
commit14070299cdc0faf36975f0cc2d51824a9abf3db0 (patch)
treef36c6b452b405455ff1d8245e406ed250420fb3a /Doc/library
parentadf02b36b3f3745ad4ee380d88f2f6011f54fc22 (diff)
downloadcpython-14070299cdc0faf36975f0cc2d51824a9abf3db0.zip
cpython-14070299cdc0faf36975f0cc2d51824a9abf3db0.tar.gz
cpython-14070299cdc0faf36975f0cc2d51824a9abf3db0.tar.bz2
bpo-37748: Re-order the Run menu. (GH-15115)
Put the most common choice, Run Module, at the top.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/idle.rst32
1 files changed, 16 insertions, 16 deletions
diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst
index 5975e3b..0bd248c 100644
--- a/Doc/library/idle.rst
+++ b/Doc/library/idle.rst
@@ -207,20 +207,6 @@ Strip trailing whitespace
Run menu (Editor window only)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-.. _python-shell:
-
-Python Shell
- Open or wake up the Python Shell window.
-
-.. _check-module:
-
-Check Module
- Check the syntax of the module currently open in the Editor window. If the
- module has not been saved IDLE will either prompt the user to save or
- autosave, as selected in the General tab of the Idle Settings dialog. If
- there is a syntax error, the approximate location is indicated in the
- Editor window.
-
.. _run-module:
Run Module
@@ -239,6 +225,20 @@ Run... Customized
settings. *Command Line Arguments* extend :data:`sys.argv` as if passed
on a command line. The module can be run in the Shell without restarting.
+.. _check-module:
+
+Check Module
+ Check the syntax of the module currently open in the Editor window. If the
+ module has not been saved IDLE will either prompt the user to save or
+ autosave, as selected in the General tab of the Idle Settings dialog. If
+ there is a syntax error, the approximate location is indicated in the
+ Editor window.
+
+.. _python-shell:
+
+Python Shell
+ Open or wake up the Python Shell window.
+
Shell menu (Shell window only)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -295,8 +295,8 @@ Configure IDLE
menu. For more details, see
:ref:`Setting preferences <preferences>` under Help and preferences.
- Most configuration options apply to all windows or all future windows.
- The option items below only apply to the active window.
+Most configuration options apply to all windows or all future windows.
+The option items below only apply to the active window.
Show/Hide Code Context (Editor Window only)
Open a pane at the top of the edit window which shows the block context