[3.6] bpo-30208: DOC: fix small typos in IDLE (#1356)
(cherry picked from commit d9af73330f
)
This commit is contained in:
parent
712114b3f9
commit
5a8dcec939
|
@ -244,7 +244,7 @@ Go to File/Line
|
||||||
single: stack viewer
|
single: stack viewer
|
||||||
|
|
||||||
Debugger (toggle)
|
Debugger (toggle)
|
||||||
When actived, code entered in the Shell or run from an Editor will run
|
When activated, code entered in the Shell or run from an Editor will run
|
||||||
under the debugger. In the Editor, breakpoints can be set with the context
|
under the debugger. In the Editor, breakpoints can be set with the context
|
||||||
menu. This feature is still incomplete and somewhat experimental.
|
menu. This feature is still incomplete and somewhat experimental.
|
||||||
|
|
||||||
|
@ -372,7 +372,7 @@ the :kbd:`Command` key on Mac OSX.
|
||||||
|
|
||||||
* :kbd:`C-l` center window around the insertion point
|
* :kbd:`C-l` center window around the insertion point
|
||||||
|
|
||||||
* :kbd:`C-b` go backwards one character without deleting (usually you can
|
* :kbd:`C-b` go backward one character without deleting (usually you can
|
||||||
also use the cursor key for this)
|
also use the cursor key for this)
|
||||||
|
|
||||||
* :kbd:`C-f` go forward one character without deleting (usually you can
|
* :kbd:`C-f` go forward one character without deleting (usually you can
|
||||||
|
@ -394,7 +394,7 @@ After a block-opening statement, the next line is indented by 4 spaces (in the
|
||||||
Python Shell window by one tab). After certain keywords (break, return etc.)
|
Python Shell window by one tab). After certain keywords (break, return etc.)
|
||||||
the next line is dedented. In leading indentation, :kbd:`Backspace` deletes up
|
the next line is dedented. In leading indentation, :kbd:`Backspace` deletes up
|
||||||
to 4 spaces if they are there. :kbd:`Tab` inserts spaces (in the Python
|
to 4 spaces if they are there. :kbd:`Tab` inserts spaces (in the Python
|
||||||
Shell window one tab), number depends on Indent width. Currently tabs
|
Shell window one tab), number depends on Indent width. Currently, tabs
|
||||||
are restricted to four spaces due to Tcl/Tk limitations.
|
are restricted to four spaces due to Tcl/Tk limitations.
|
||||||
|
|
||||||
See also the indent/dedent region commands in the edit menu.
|
See also the indent/dedent region commands in the edit menu.
|
||||||
|
@ -418,7 +418,7 @@ If there is only one possible completion for the characters entered, a
|
||||||
:kbd:`C-space` will open a completions window. In an empty
|
:kbd:`C-space` will open a completions window. In an empty
|
||||||
string, this will contain the files in the current directory. On a
|
string, this will contain the files in the current directory. On a
|
||||||
blank line, it will contain the built-in and user-defined functions and
|
blank line, it will contain the built-in and user-defined functions and
|
||||||
classes in the current name spaces, plus any modules imported. If some
|
classes in the current namespaces, plus any modules imported. If some
|
||||||
characters have been entered, the ACW will attempt to be more specific.
|
characters have been entered, the ACW will attempt to be more specific.
|
||||||
|
|
||||||
If a string of characters is typed, the ACW selection will jump to the
|
If a string of characters is typed, the ACW selection will jump to the
|
||||||
|
@ -557,7 +557,7 @@ IDLE-console differences
|
||||||
|
|
||||||
As much as possible, the result of executing Python code with IDLE is the
|
As much as possible, the result of executing Python code with IDLE is the
|
||||||
same as executing the same code in a console window. However, the different
|
same as executing the same code in a console window. However, the different
|
||||||
interface and operation occasionally affects visible results. For instance,
|
interface and operation occasionally affect visible results. For instance,
|
||||||
``sys.modules`` starts with more entries.
|
``sys.modules`` starts with more entries.
|
||||||
|
|
||||||
IDLE also replaces ``sys.stdin``, ``sys.stdout``, and ``sys.stderr`` with
|
IDLE also replaces ``sys.stdin``, ``sys.stdout``, and ``sys.stderr`` with
|
||||||
|
@ -583,7 +583,7 @@ If firewall software complains anyway, you can ignore it.
|
||||||
|
|
||||||
If the attempt to make the socket connection fails, Idle will notify you.
|
If the attempt to make the socket connection fails, Idle will notify you.
|
||||||
Such failures are sometimes transient, but if persistent, the problem
|
Such failures are sometimes transient, but if persistent, the problem
|
||||||
may be either a firewall blocking the connecton or misconfiguration of
|
may be either a firewall blocking the connection or misconfiguration of
|
||||||
a particular system. Until the problem is fixed, one can run Idle with
|
a particular system. Until the problem is fixed, one can run Idle with
|
||||||
the -n command line switch.
|
the -n command line switch.
|
||||||
|
|
||||||
|
@ -619,14 +619,14 @@ Setting preferences
|
||||||
|
|
||||||
The font preferences, highlighting, keys, and general preferences can be
|
The font preferences, highlighting, keys, and general preferences can be
|
||||||
changed via Configure IDLE on the Option menu. Keys can be user defined;
|
changed via Configure IDLE on the Option menu. Keys can be user defined;
|
||||||
IDLE ships with four built in key sets. In addition a user can create a
|
IDLE ships with four built-in key sets. In addition, a user can create a
|
||||||
custom key set in the Configure IDLE dialog under the keys tab.
|
custom key set in the Configure IDLE dialog under the keys tab.
|
||||||
|
|
||||||
|
|
||||||
Extensions
|
Extensions
|
||||||
^^^^^^^^^^
|
^^^^^^^^^^
|
||||||
|
|
||||||
IDLE contains an extension facility. Peferences for extensions can be
|
IDLE contains an extension facility. Preferences for extensions can be
|
||||||
changed with Configure Extensions. See the beginning of config-extensions.def
|
changed with Configure Extensions. See the beginning of config-extensions.def
|
||||||
in the idlelib directory for further information. The default extensions
|
in the idlelib directory for further information. The default extensions
|
||||||
are currently:
|
are currently:
|
||||||
|
|
Loading…
Reference in New Issue