Fix typos in documentation (#119295)

This commit is contained in:
Xie Yanbo 2024-05-22 02:35:05 +08:00 committed by GitHub
parent f6da790122
commit b7f45a9332
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 9 additions and 9 deletions

View file

@ -560,7 +560,7 @@ versions prior to 3.11
.. nonce: 9lmTCC
.. section: Core and Builtins
Remove two cases of undefined behavoir, by adding NULL checks.
Remove two cases of undefined behavior, by adding NULL checks.
..
@ -2591,7 +2591,7 @@ Update bundled pip to 22.2.2.
Fix :class:`asyncio.TaskGroup` to propagate exception when
:exc:`asyncio.CancelledError` was replaced with another exception by a
context manger. Patch by Kumar Aditya and Guido van Rossum.
context manager. Patch by Kumar Aditya and Guido van Rossum.
..
@ -4476,7 +4476,7 @@ they are deprecated. Contributed by C.A.M. Gerlach.
.. nonce: we7AFm
.. section: Documentation
Replaced incorrectly written true/false values in documentiation. Patch by
Replaced incorrectly written true/false values in documentation. Patch by
Robert O'Shea
..

View file

@ -822,7 +822,7 @@ and to indicate when it became late-bound.
.. nonce: 7KinCV
.. section: Tests
The Python test suite now fails wit exit code 4 if no tests ran. It should
The Python test suite now fails with exit code 4 if no tests ran. It should
help detecting typos in test names and test methods.
..

View file

@ -82,7 +82,7 @@ Victor Stinner.
.. section: Core and Builtins
Fixed a bug that was causing a buffer overflow if the tokenizer copies a
line missing the newline caracter from a file that is as long as the
line missing the newline character from a file that is as long as the
available tokenizer buffer. Patch by Pablo galindo
..

View file

@ -830,7 +830,7 @@ Reduced the memory usage of :func:`urllib.parse.unquote` and
.. section: Library
``inspect.signature`` was raising ``TypeError`` on call with mock objects.
Now it correctly returns ``(*args, **kwargs)`` as infered signature.
Now it correctly returns ``(*args, **kwargs)`` as inferred signature.
..

View file

@ -506,7 +506,7 @@ inheritance.
.. nonce: 7sQz5l
.. section: Build
Update BOLT configration not to use depreacted usage of ``--split
Update BOLT configuration not to use deprecated usage of ``--split
functions``. Patch by Donghee Na.
..

View file

@ -453,7 +453,7 @@ E. Aasland.
.. section: Library
Change repr of :class:`collections.OrderedDict` to use regular dictionary
formating instead of pairs of keys and values.
formatting instead of pairs of keys and values.
..

View file

@ -1446,7 +1446,7 @@ Adapt the :mod:`winsound` extension module to :pep:`687`.
.. nonce: jurMzv
.. section: Library
Remove deprecation of enum ``memmber.member`` access.
Remove deprecation of enum ``member.member`` access.
..