Skip to content

bpo-30208: DOC: fix small typos in IDLE #1354

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 29, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions Doc/library/idle.rst
Original file line number Diff line number Diff line change
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,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I wrote this, I thought of 'different interface and operation' as one thing. But if you did not see that, I agree with changing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wondered about that and could read it both ways, but I changed it because the first time I read it, it didn't feel right. And, after thinking about it (before the commit), my reasoning was that 'interface and operation' doesn't seem like an 'it', but more like a 'they'. But, if you meant it as one thing, then I can change it back.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Too late ;-) Since the intended meaning is the same either way, what matters here is which feels more 'right' for a fresh reader, such as you.

``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