Skip to content

Commit

Permalink
Docs: fix typos in documentation (gh-118941)
Browse files Browse the repository at this point in the history
  • Loading branch information
xyb committed May 15, 2024
1 parent fb0cf7d commit 4d3ef80
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions Misc/NEWS.d/3.5.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1345,7 +1345,7 @@ newer worked.
.. section: Library
The "ip" command is now used on Linux to determine MAC address in
uuid.getnode(). Pach by Bruno Cauet.
uuid.getnode(). Patch by Bruno Cauet.

..
Expand Down Expand Up @@ -3930,7 +3930,7 @@ has been called.
.. nonce: 5CDoox
.. section: Library
New keyword argument ``unsafe`` to Mock. It raises ``AttributeError`` incase of
New keyword argument ``unsafe`` to Mock. It raises ``AttributeError`` in case of
an attribute startswith assert or assret.

..
Expand Down Expand Up @@ -4339,7 +4339,7 @@ these modules are not used.
.. nonce: V1-XhC
.. section: Library
Include the broadcast address in the usuable hosts for IPv6 in ipaddress.
Include the broadcast address in the usable hosts for IPv6 in ipaddress.

..
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.6.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ array is extended.
.. section: Library
doctest.DocFileTest and doctest.testfile() now support packages (module
splitted into multiple directories) for the package parameter.
split into multiple directories) for the package parameter.

..
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.6.0b2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ memcpy().
.. nonce: e5xc1i
.. section: Core and Builtins
Fix dict.pop() for splitted dictionary when trying to remove a "pending key"
Fix dict.pop() for split dictionary when trying to remove a "pending key"
(Not yet inserted in split-table). Patch by Xiang Zhang.

..
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.6.3rc1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ wrong line (typically the first line of the file).
.. nonce: Kl_fS5
.. section: Core and Builtins
Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C libray
Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C library
plans to remove the functions from sys/types.h.

..
Expand Down
6 changes: 3 additions & 3 deletions Misc/NEWS.d/3.7.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ Fix possible undefined behavior in _PyObject_FastCall_Prepend.
.. nonce: Kl_fS5
.. section: Core and Builtins
Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C libray
Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C library
plans to remove the functions from sys/types.h.

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

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

..
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.7.0a4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ Add asyncio.get_running_loop() function.
.. section: Library
All class and static methods of builtin types now are correctly classified
by inspect.classify_class_attrs() and grouped in pydoc ouput. Added
by inspect.classify_class_attrs() and grouped in pydoc output. Added
types.ClassMethodDescriptorType for unbound class methods of builtin types.

..
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.7.0b1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -875,4 +875,4 @@ by Stéphane Wirtel
.. section: C API
Add C API access to the ``datetime.timezone`` constructor and
``datetime.timzone.UTC`` singleton.
``datetime.timezone.UTC`` singleton.
4 changes: 2 additions & 2 deletions Misc/NEWS.d/3.7.0b4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ Fix potential memory leak in ``normalizestring()``.
Change dict growth function from
``round_up_to_power_2(used*2+hashtable_size/2)`` to
``round_up_to_power_2(used*3)``. Previously, dict is shrinked only when
``used == 0``. Now dict has more chance to be shrinked.
``round_up_to_power_2(used*3)``. Previously, dict is shrunk only when
``used == 0``. Now dict has more chance to be shrunk.

..
Expand Down
4 changes: 2 additions & 2 deletions Misc/NEWS.d/3.8.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1406,8 +1406,8 @@ Fix potential memory leak in ``normalizestring()``.
Change dict growth function from
``round_up_to_power_2(used*2+hashtable_size/2)`` to
``round_up_to_power_2(used*3)``. Previously, dict is shrinked only when
``used == 0``. Now dict has more chance to be shrinked.
``round_up_to_power_2(used*3)``. Previously, dict is shrunk only when
``used == 0``. Now dict has more chance to be shrunk.

..
Expand Down

0 comments on commit 4d3ef80

Please sign in to comment.