Skip to content

Commit

Permalink
[3.12] Fix typos in documentation (GH-119092) (#119117)
Browse files Browse the repository at this point in the history
Fix typos in documentation (GH-119092)
(cherry picked from commit 65de194)

Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
3 people committed May 17, 2024
1 parent a3db4e8 commit fa359df
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.10.0a4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ be created automatically.
``logging.disable`` will now validate the types and value of its parameter.
It also now accepts strings representing the levels (as does
``loging.setLevel``) instead of only the numerical values.
``logging.setLevel``) instead of only the numerical values.

..
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.11.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ manager` protocols correspondingly.
.. section: Core and Builtins
Make sure that the line number is set when entering a comprehension scope.
Ensures that backtraces inclusing generator expressions show the correct
This ensures that backtraces including generator expressions show the correct
line number.

..
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.11.0a2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module but frozen modules are disabled.
.. nonce: veL4lJ
.. section: Core and Builtins
Specialize simple calls to Python functions (no starargs, keyowrd dict, or
Specialize simple calls to Python functions (no starargs, keyword dict, or
closure)

..
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.11.0a5.rst
Original file line number Diff line number Diff line change
Expand Up @@ -748,7 +748,7 @@ tests to use ``support.infinite_recursion()``. Patch by Victor Stinner.
Skip test_builtin PTY tests on non-ASCII characters if the readline module
is loaded. The readline module changes input() behavior, but test_builtin is
not intented to test the readline module. Patch by Victor Stinner.
not intended to test the readline module. Patch by Victor Stinner.

..
Expand Down
8 changes: 4 additions & 4 deletions Misc/NEWS.d/3.11.0a6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1088,7 +1088,7 @@ Patch by Kumar Aditya.
Fix wasm32-emscripten test failures and platform issues. - Disable syscalls
that are not supported or don't work, e.g. wait, getrusage, prlimit,
mkfifo, mknod, setres[gu]id, setgroups. - Use fd_count to cound open fds. -
mkfifo, mknod, setres[gu]id, setgroups. - Use fd_count to count open fds. -
Add more checks for subprocess and fork. - Add workarounds for missing
_multiprocessing and failing socket.accept(). - Enable bzip2. - Disable
large file support. - Disable signal.alarm.
Expand Down Expand Up @@ -1162,7 +1162,7 @@ Terry Jan Reedy.
.. section: C API
Python's public headers no longer import ``<stdbool.h>``, leaving code that
embedd/extends Python free to define ``bool``, ``true`` and ``false``.
embeds/extends Python free to define ``bool``, ``true`` and ``false``.

..
Expand All @@ -1182,7 +1182,7 @@ internal C API ``pycore_frame.h`` header file. Patch by Victor Stinner.
.. section: C API
Rename ``Include/buffer.h`` header file to ``Include/pybuffer.h`` to avoid
conflits with projects having an existing ``buffer.h`` header file. Patch by
conflicts with projects having an existing ``buffer.h`` header file. Patch by
Victor Stinner.

..
Expand All @@ -1202,5 +1202,5 @@ API). Patch by Victor Stinner.
.. nonce: __ZdpH
.. section: C API
Added function :c:func:`PyType_GetModuleByDef`, which allows accesss to
Added function :c:func:`PyType_GetModuleByDef`, which allows access to
module state when a method's defining class is not available.
4 changes: 2 additions & 2 deletions Misc/NEWS.d/3.11.0a7.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1173,7 +1173,7 @@ implemented.
.. section: Library
Add an Barrier object in synchronization primitives of *asyncio* Lib in
order to be consistant with Barrier from *threading* and *multiprocessing*
order to be consistent with Barrier from *threading* and *multiprocessing*
libs*

..
Expand Down Expand Up @@ -1211,7 +1211,7 @@ Update PEP URLs to :pep:`676`'s new canonical form.
.. nonce: 4Dn48U
.. section: Documentation
Clarified the old Python versions compatiblity note of
Clarified the old Python versions compatibility note of
:func:`binascii.crc32` / :func:`zlib.adler32` / :func:`zlib.crc32`
functions.

Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.8.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6282,7 +6282,7 @@ Add documentation about the new command line interface of the gzip module.
.. nonce: YO9CYm
.. section: Documentation
chm document displays non-ASCII charaters properly on some MBCS Windows
chm document displays non-ASCII characters properly on some MBCS Windows
systems.

..
Expand Down
4 changes: 2 additions & 2 deletions Misc/NEWS.d/3.8.0a4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ exceptions.
.. nonce: 9sjd38
.. section: Library
Add time module support and fix test_time faiures for VxWorks.
Add time module support and fix test_time failures for VxWorks.

..
Expand Down Expand Up @@ -843,7 +843,7 @@ Using the code of the ``Tools/scripts/serve.py`` script as an example in the
.. nonce: nF1pP1
.. section: Documentation
Added Documention for PyInterpreterState_Main().
Added documentation for PyInterpreterState_Main().

..
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.9.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1396,7 +1396,7 @@ way to :func:`email.message.get`.
.. section: Library
Deprecated the ``split()`` method in :class:`_tkinter.TkappType` in favour
of the ``splitlist()`` method which has more consistent and predicable
of the ``splitlist()`` method which has more consistent and predictable
behavior.

..
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.9.0a6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ script is killed by signal 11, it now logs: "CGI script exit code -11."
.. section: Library
Improve the error message when triying to import a module using :mod:`runpy`
and incorrently use the ".py" extension at the end of the module name. Patch
and incorrectly using the ".py" extension at the end of the module name. Patch
by Pablo Galindo.

..
Expand Down

0 comments on commit fa359df

Please sign in to comment.