]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Docs: fix typos in documentation (gh-118941)
authorXie Yanbo <xieyanbo@gmail.com>
Wed, 15 May 2024 23:38:32 +0000 (07:38 +0800)
committerGitHub <noreply@github.com>
Wed, 15 May 2024 23:38:32 +0000 (18:38 -0500)
Misc/NEWS.d/3.5.0a1.rst
Misc/NEWS.d/3.6.0a1.rst
Misc/NEWS.d/3.6.0b2.rst
Misc/NEWS.d/3.6.3rc1.rst
Misc/NEWS.d/3.7.0a1.rst
Misc/NEWS.d/3.7.0a4.rst
Misc/NEWS.d/3.7.0b1.rst
Misc/NEWS.d/3.7.0b4.rst
Misc/NEWS.d/3.8.0a1.rst

index 5244db107a73da997a06e02892c86bccc9401458..442ab62fee818548783a3bc9c4021dfeb4f41cde 100644 (file)
@@ -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.
 
 ..
 
@@ -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.
 
 ..
@@ -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.
 
 ..
 
index 144d217f6098a1b3f338fc9f17e8fcc8a319b80b..5c9a6e5d64b469dc0d1fb6a005469c909aa3f4b0 100644 (file)
@@ -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.
 
 ..
 
index 9413c6e01917d5c4bf7b402543bd7d6cb5c95025..23dd69efb23b881a6dd9311f22fb0d27a8ea6965 100644 (file)
@@ -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.
 
 ..
index ebda7665e2b6eab4962b20d176b11c7c6c7b2e7b..6a20e07f05956c644358489434118571a75b4ccb 100644 (file)
@@ -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.
 
 ..
index 58d51c420a10aeaf08a46e45a3e5719ca3cda893..fd6ba07b53a6174c8a7d1e9f037563cd69be326a 100644 (file)
@@ -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.
 
 ..
@@ -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.
 
 ..
@@ -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.
 
 ..
index f2c6559037d84ff3dc5991c875660e2d9ce77b83..679f72ee0a44d4fe8c5118a87a1c3f1f68d266df 100644 (file)
@@ -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.
 
 ..
index d1beec9cdcc33aedbf50d838330b6df75443c842..b6477127818eb5cd2f5baa7516818cbf65111a46 100644 (file)
@@ -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.
index b17c7e08d1d408ca0868f955f8c90367adf947c7..fd0ce25cd8fb4144e13a1fe32eec20ca6cb918e0 100644 (file)
@@ -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.
 
 ..
 
index 1964a8329979f5afa183fb6c436e73305c288fcc..258e7d82b3f303d8965fa6ba344247a7a6bbb800 100644 (file)
@@ -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.
 
 ..