bpo-30208: DOC: fix small typos in IDLE (#1354) · python/cpython@9dc2b38 (original) (raw)

`@@ -244,7 +244,7 @@ Go to File/Line

`

244

244

` single: stack viewer

`

245

245

``

246

246

`Debugger (toggle)

`

247

``

`-

When actived, code entered in the Shell or run from an Editor will run

`

``

247

`+

When activated, code entered in the Shell or run from an Editor will run

`

248

248

` under the debugger. In the Editor, breakpoints can be set with the context

`

249

249

` menu. This feature is still incomplete and somewhat experimental.

`

250

250

``

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

``

372

372

``

373

373

`` * :kbd:C-l center window around the insertion point

``

374

374

``

375

``

`` -

``

``

375

`` +

``

376

376

` also use the cursor key for this)

`

377

377

``

378

378

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

`

394

394

`Python Shell window by one tab). After certain keywords (break, return etc.)

`

395

395

`` the next line is dedented. In leading indentation, :kbd:Backspace deletes up

``

396

396

`` to 4 spaces if they are there. :kbd:Tab inserts spaces (in the Python

``

397

``

`-

Shell window one tab), number depends on Indent width. Currently tabs

`

``

397

`+

Shell window one tab), number depends on Indent width. Currently, tabs

`

398

398

`are restricted to four spaces due to Tcl/Tk limitations.

`

399

399

``

400

400

`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

`

418

418

`` :kbd:C-space will open a completions window. In an empty

``

419

419

`string, this will contain the files in the current directory. On a

`

420

420

`blank line, it will contain the built-in and user-defined functions and

`

421

``

`-

classes in the current name spaces, plus any modules imported. If some

`

``

421

`+

classes in the current namespaces, plus any modules imported. If some

`

422

422

`characters have been entered, the ACW will attempt to be more specific.

`

423

423

``

424

424

`If a string of characters is typed, the ACW selection will jump to the

`

`@@ -557,7 +557,7 @@ IDLE-console differences

`

557

557

``

558

558

`As much as possible, the result of executing Python code with IDLE is the

`

559

559

`same as executing the same code in a console window. However, the different

`

560

``

`-

interface and operation occasionally affects visible results. For instance,

`

``

560

`+

interface and operation occasionally affect visible results. For instance,

`

561

561

``` sys.modules starts with more entries.


`562`

`562`

``

`563`

`563`

``` IDLE also replaces ``sys.stdin``, ``sys.stdout``, and ``sys.stderr`` with

`@@ -583,7 +583,7 @@ If firewall software complains anyway, you can ignore it.

`

583

583

``

584

584

`If the attempt to make the socket connection fails, Idle will notify you.

`

585

585

`Such failures are sometimes transient, but if persistent, the problem

`

586

``

`-

may be either a firewall blocking the connecton or misconfiguration of

`

``

586

`+

may be either a firewall blocking the connection or misconfiguration of

`

587

587

`a particular system. Until the problem is fixed, one can run Idle with

`

588

588

`the -n command line switch.

`

589

589

``

`@@ -619,14 +619,14 @@ Setting preferences

`

619

619

``

620

620

`The font preferences, highlighting, keys, and general preferences can be

`

621

621

`changed via Configure IDLE on the Option menu. Keys can be user defined;

`

622

``

`-

IDLE ships with four built in key sets. In addition a user can create a

`

``

622

`+

IDLE ships with four built-in key sets. In addition, a user can create a

`

623

623

`custom key set in the Configure IDLE dialog under the keys tab.

`

624

624

``

625

625

``

626

626

`Extensions

`

627

627

`^^^^^^^^^^

`

628

628

``

629

``

`-

IDLE contains an extension facility. Peferences for extensions can be

`

``

629

`+

IDLE contains an extension facility. Preferences for extensions can be

`

630

630

`changed with Configure Extensions. See the beginning of config-extensions.def

`

631

631

`in the idlelib directory for further information. The default extensions

`

632

632

`are currently:

`