Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6c7bb38

Browse files
gurupad93terryjreedy
authored andcommitted
bpo-39136: Fixed typos (GH-17720)
funtion -> function; configuraton -> configuration; defintitions -> definitions; focusses -> focuses; necesarily -> necessarily; follwing -> following; Excape -> Escape,
1 parent 98f0f04 commit 6c7bb38

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

Doc/c-api/init.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ It is usually the only Python interpreter in a process. Unlike sub-interpreters
11891189
the main interpreter has unique process-global responsibilities like signal
11901190
handling. It is also responsible for execution during runtime initialization and
11911191
is usually the active interpreter during runtime finalization. The
1192-
:c:func:`PyInterpreterState_Main` funtion returns a pointer to its state.
1192+
:c:func:`PyInterpreterState_Main` function returns a pointer to its state.
11931193
11941194
You can switch between sub-interpreters using the :c:func:`PyThreadState_Swap`
11951195
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/c-api/structures.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ Accessing attributes of extension types
350350
.. _pymemberdef-offsets:
351351

352352
Heap allocated types (created using :c:func:`PyType_FromSpec` or similar),
353-
``PyMemberDef`` may contain defintitions for the special members
353+
``PyMemberDef`` may contain definitions for the special members
354354
``__dictoffset__`` and ``__weaklistoffset__``, corresponding to
355355
:c:member:`~PyTypeObject.tp_dictoffset` and
356356
:c:member:`~PyTypeObject.tp_weaklistoffset` in type objects.

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

Doc/library/ast.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ and classes for traversing abstract syntax trees:
168168
back with :func:`ast.parse`.
169169

170170
.. warning::
171-
The produced code string will not necesarily be equal to the original
171+
The produced code string will not necessarily be equal to the original
172172
code that generated the :class:`ast.AST` object.
173173

174174
.. versionadded:: 3.9

Doc/library/test.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1577,7 +1577,7 @@ script execution tests.
15771577
The :mod:`test.support.bytecode_helper` module provides support for testing
15781578
and inspecting bytecode generation.
15791579

1580-
The module defines the follwing class:
1580+
The module defines the following class:
15811581

15821582
.. class:: BytecodeTestCase(unittest.TestCase)
15831583

Lib/idlelib/NEWS.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Released on 2020-10-05?
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

Misc/NEWS.d/3.9.0a2.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ the "elif" keyword and not to its condition, making it consistent with the
6969
.. nonce: 8OyT5P
7070
.. section: Core and Builtins
7171
72-
In Python 3.9.0a1, sys.argv[0] was made an asolute path if a filename was
72+
In Python 3.9.0a1, sys.argv[0] was made an absolute path if a filename was
7373
specified on the command line. Revert this change, since most users expect
7474
sys.argv to be unmodified.
7575

@@ -516,7 +516,7 @@ from a coroutine.
516516
.. section: Library
517517
518518
AsyncMock fix for return values that are awaitable types. This also covers
519-
side_effect iterable values that happend to be awaitable, and wraps
519+
side_effect iterable values that happened to be awaitable, and wraps
520520
callables that return an awaitable type. Before these awaitables were being
521521
awaited instead of being returned as is.
522522

@@ -893,7 +893,7 @@ previous `import posix`. Patch by Benoît Hudson.
893893
.. nonce: _3xjKG
894894
.. section: IDLE
895895
896-
Excape key now closes IDLE completion windows. Patch by Johnny Najera.
896+
Escape key now closes IDLE completion windows. Patch by Johnny Najera.
897897

898898
..
899899

0 commit comments

Comments
 (0)