Skip to content

Commit 4d3ef80

Browse files
authored
Docs: fix typos in documentation (gh-118941)
1 parent fb0cf7d commit 4d3ef80

File tree

9 files changed

+15
-15
lines changed

9 files changed

+15
-15
lines changed

Misc/NEWS.d/3.5.0a1.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1345,7 +1345,7 @@ newer worked.
13451345
.. section: Library
13461346
13471347
The "ip" command is now used on Linux to determine MAC address in
1348-
uuid.getnode(). Pach by Bruno Cauet.
1348+
uuid.getnode(). Patch by Bruno Cauet.
13491349

13501350
..
13511351
@@ -3930,7 +3930,7 @@ has been called.
39303930
.. nonce: 5CDoox
39313931
.. section: Library
39323932
3933-
New keyword argument ``unsafe`` to Mock. It raises ``AttributeError`` incase of
3933+
New keyword argument ``unsafe`` to Mock. It raises ``AttributeError`` in case of
39343934
an attribute startswith assert or assret.
39353935

39363936
..
@@ -4339,7 +4339,7 @@ these modules are not used.
43394339
.. nonce: V1-XhC
43404340
.. section: Library
43414341
4342-
Include the broadcast address in the usuable hosts for IPv6 in ipaddress.
4342+
Include the broadcast address in the usable hosts for IPv6 in ipaddress.
43434343

43444344
..
43454345

Misc/NEWS.d/3.6.0a1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,7 @@ array is extended.
14011401
.. section: Library
14021402
14031403
doctest.DocFileTest and doctest.testfile() now support packages (module
1404-
splitted into multiple directories) for the package parameter.
1404+
split into multiple directories) for the package parameter.
14051405

14061406
..
14071407

Misc/NEWS.d/3.6.0b2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ memcpy().
215215
.. nonce: e5xc1i
216216
.. section: Core and Builtins
217217
218-
Fix dict.pop() for splitted dictionary when trying to remove a "pending key"
218+
Fix dict.pop() for split dictionary when trying to remove a "pending key"
219219
(Not yet inserted in split-table). Patch by Xiang Zhang.
220220

221221
..

Misc/NEWS.d/3.6.3rc1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ wrong line (typically the first line of the file).
8585
.. nonce: Kl_fS5
8686
.. section: Core and Builtins
8787
88-
Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C libray
88+
Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C library
8989
plans to remove the functions from sys/types.h.
9090

9191
..

Misc/NEWS.d/3.7.0a1.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ Fix possible undefined behavior in _PyObject_FastCall_Prepend.
214214
.. nonce: Kl_fS5
215215
.. section: Core and Builtins
216216
217-
Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C libray
217+
Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C library
218218
plans to remove the functions from sys/types.h.
219219

220220
..
@@ -1479,7 +1479,7 @@ memcpy().
14791479
.. nonce: e5xc1i
14801480
.. section: Core and Builtins
14811481
1482-
Fix dict.pop() for splitted dictionary when trying to remove a "pending key"
1482+
Fix dict.pop() for split dictionary when trying to remove a "pending key"
14831483
(Not yet inserted in split-table). Patch by Xiang Zhang.
14841484

14851485
..
@@ -2516,7 +2516,7 @@ stdin.write() if the child process is still running but closed the pipe.
25162516
.. nonce: CdOuSl
25172517
.. section: Library
25182518
2519-
Addded empty __slots__ to abc.ABC. This allows subclassers to deny __dict__
2519+
Added empty __slots__ to abc.ABC. This allows subclassers to deny __dict__
25202520
and __weakref__ creation. Patch by Aaron Hall.
25212521

25222522
..

Misc/NEWS.d/3.7.0a4.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ Add asyncio.get_running_loop() function.
595595
.. section: Library
596596
597597
All class and static methods of builtin types now are correctly classified
598-
by inspect.classify_class_attrs() and grouped in pydoc ouput. Added
598+
by inspect.classify_class_attrs() and grouped in pydoc output. Added
599599
types.ClassMethodDescriptorType for unbound class methods of builtin types.
600600

601601
..

Misc/NEWS.d/3.7.0b1.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,4 +875,4 @@ by Stéphane Wirtel
875875
.. section: C API
876876
877877
Add C API access to the ``datetime.timezone`` constructor and
878-
``datetime.timzone.UTC`` singleton.
878+
``datetime.timezone.UTC`` singleton.

Misc/NEWS.d/3.7.0b4.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ Fix potential memory leak in ``normalizestring()``.
4646
4747
Change dict growth function from
4848
``round_up_to_power_2(used*2+hashtable_size/2)`` to
49-
``round_up_to_power_2(used*3)``. Previously, dict is shrinked only when
50-
``used == 0``. Now dict has more chance to be shrinked.
49+
``round_up_to_power_2(used*3)``. Previously, dict is shrunk only when
50+
``used == 0``. Now dict has more chance to be shrunk.
5151

5252
..
5353

Misc/NEWS.d/3.8.0a1.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1406,8 +1406,8 @@ Fix potential memory leak in ``normalizestring()``.
14061406
14071407
Change dict growth function from
14081408
``round_up_to_power_2(used*2+hashtable_size/2)`` to
1409-
``round_up_to_power_2(used*3)``. Previously, dict is shrinked only when
1410-
``used == 0``. Now dict has more chance to be shrinked.
1409+
``round_up_to_power_2(used*3)``. Previously, dict is shrunk only when
1410+
``used == 0``. Now dict has more chance to be shrunk.
14111411

14121412
..
14131413

0 commit comments

Comments
 (0)