Skip to content

Commit df647f3

Browse files
authored
[3.8] bpo-39136: Fixed typos (GH-17720)
funtion -> function; configuraton -> configuration; defintitions -> definitions; focusses -> focuses; necesarily -> necessarily; follwing -> following; Excape -> Escape, (cherry picked from commit 6c7bb38)
1 parent 9ee1b15 commit df647f3

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Doc/c-api/init.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1181,7 +1181,7 @@ It is usually the only Python interpreter in a process. Unlike sub-interpreters
11811181
the main interpreter has unique process-global responsibilities like signal
11821182
handling. It is also responsible for execution during runtime initialization and
11831183
is usually the active interpreter during runtime finalization. The
1184-
:c:func:`PyInterpreterState_Main` funtion returns a pointer to its state.
1184+
:c:func:`PyInterpreterState_Main` function returns a pointer to its state.
11851185
11861186
You can switch between sub-interpreters using the :c:func:`PyThreadState_Swap`
11871187
function. You can create and destroy them using the following functions:

Doc/c-api/init_config.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ configuration, and then override some parameters::
757757
PyConfig config;
758758
PyConfig_InitPythonConfig(&config);
759759
760-
/* Set the program name before reading the configuraton
760+
/* Set the program name before reading the configuration
761761
(decode byte string from the locale encoding).
762762
763763
Implicitly preinitialize Python. */

Doc/faq/programming.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1019,7 +1019,7 @@ That's a tough one, in general. First, here are a list of things to
10191019
remember before diving further:
10201020

10211021
* Performance characteristics vary across Python implementations. This FAQ
1022-
focusses on :term:`CPython`.
1022+
focuses on :term:`CPython`.
10231023
* Behaviour can vary across operating systems, especially when talking about
10241024
I/O or multi-threading.
10251025
* You should always find the hot spots in your program *before* attempting to

Lib/idlelib/NEWS.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Released on 2019-12-16?
66
bpo-38943: Fix autocomplete windows not always appearing on some
77
systems. Patch by Johnny Najera.
88

9-
bpo-38944: Excape key now closes IDLE completion windows. Patch by
9+
bpo-38944: Escape key now closes IDLE completion windows. Patch by
1010
Johnny Najera.
1111

1212
bpo-38862: 'Strip Trailing Whitespace' on the Format menu removes extra

Lib/tkinter/tix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,7 @@ def size_column(self, index, **kw):
18901890
containing the current size setting of the given column. When
18911891
option-value pairs are given, the corresponding options of the
18921892
size setting of the given column are changed. Options may be one
1893-
of the follwing:
1893+
of the following:
18941894
pad0 pixels
18951895
Specifies the paddings to the left of a column.
18961896
pad1 pixels
@@ -1915,7 +1915,7 @@ def size_row(self, index, **kw):
19151915
When no option-value pair is given, this command returns a list con-
19161916
taining the current size setting of the given row . When option-value
19171917
pairs are given, the corresponding options of the size setting of the
1918-
given row are changed. Options may be one of the follwing:
1918+
given row are changed. Options may be one of the following:
19191919
pad0 pixels
19201920
Specifies the paddings to the top of a row.
19211921
pad1 pixels

0 commit comments

Comments
 (0)