Skip to content

Commit

Permalink
[3.6] bpo-30208: DOC: fix small typos in IDLE (#1356)
Browse files Browse the repository at this point in the history
(cherry picked from commit d9af733)
  • Loading branch information
csabella authored and terryjreedy committed Apr 30, 2017
1 parent 712114b commit 5a8dcec
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions Doc/library/idle.rst
Expand Up @@ -244,7 +244,7 @@ Go to File/Line
single: stack viewer

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
menu. This feature is still incomplete and somewhat experimental.

Expand Down Expand Up @@ -372,7 +372,7 @@ the :kbd:`Command` key on Mac OSX.

* :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)

* :kbd:`C-f` go forward one character without deleting (usually you can
Expand All @@ -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.)
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
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.

See also the indent/dedent region commands in the edit menu.
Expand All @@ -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
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
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.

If a string of characters is typed, the ACW selection will jump to the
Expand Down Expand Up @@ -557,7 +557,7 @@ IDLE-console differences

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
interface and operation occasionally affects visible results. For instance,
interface and operation occasionally affect visible results. For instance,
``sys.modules`` starts with more entries.

IDLE also replaces ``sys.stdin``, ``sys.stdout``, and ``sys.stderr`` with
Expand All @@ -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.
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
the -n command line switch.

Expand Down Expand Up @@ -619,14 +619,14 @@ Setting preferences

The font preferences, highlighting, keys, and general preferences can be
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.


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
in the idlelib directory for further information. The default extensions
are currently:
Expand Down

0 comments on commit 5a8dcec

Please sign in to comment.