]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Fix typos in documentation (GH-119092) (#119117)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 17 May 2024 10:57:34 +0000 (12:57 +0200)
committerGitHub <noreply@github.com>
Fri, 17 May 2024 10:57:34 +0000 (06:57 -0400)
Fix typos in documentation (GH-119092)
(cherry picked from commit 65de194dd80bbc8cb7098d21cfd6aefd11d0d0ce)

Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Misc/NEWS.d/3.10.0a4.rst
Misc/NEWS.d/3.11.0a1.rst
Misc/NEWS.d/3.11.0a2.rst
Misc/NEWS.d/3.11.0a5.rst
Misc/NEWS.d/3.11.0a6.rst
Misc/NEWS.d/3.11.0a7.rst
Misc/NEWS.d/3.8.0a1.rst
Misc/NEWS.d/3.8.0a4.rst
Misc/NEWS.d/3.9.0a1.rst
Misc/NEWS.d/3.9.0a6.rst

index 398f7e5d3422cb22cc65bcc10db3983eee530156..ae667f2bffe19228fdb1db186724317dd1649b98 100644 (file)
@@ -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.
 
 ..
 
index 460f43771c8f749e21678a162efc84fb4b3c676a..38d0af098f8dc66f6e99e1d3ec077a5c4606d185 100644 (file)
@@ -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.
 
 ..
index f3fc62e9097162158580d6b9266e29ea97d2d55b..05644d0a4639b1f131a8c9aaea753d6c73803772 100644 (file)
@@ -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)
 
 ..
index 30a462e9bfdcbfbe468a83be5053978f610d44f9..954f5c18b48000af8a710541bc774a3f8dd88498 100644 (file)
@@ -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.
 
 ..
 
index 2fdceef7746d4e97d1c31459e0e66a264466a286..66ffa4ffba52e51b169fd71f5f2ef834f5674d0a 100644 (file)
@@ -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.
@@ -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``.
 
 ..
 
@@ -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.
 
 ..
@@ -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.
index d501e47fd39e986b8f9eb95efb018dc2d2c3c1ae..0dab76919d26a29191ba60820bc47c2a967fd3e9 100644 (file)
@@ -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*
 
 ..
@@ -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.
 
index 2418515cf23a33e18a3c805be4714d46931a1aaf..713852cbc0c4024ae6ae74a448f55be7b0f3baa3 100644 (file)
@@ -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.
 
 ..
index 2e6b9d4251b4abd82f752b0f80693e251c974d96..430c43ccd69722fcffbde0f2c80f28200625eda2 100644 (file)
@@ -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.
 
 ..
 
@@ -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().
 
 ..
 
index 00b4f556be63262e88e9bc6259a7d5f2644b9c85..c68af36ba551b195b3982c44105a7a3047ac6052 100644 (file)
@@ -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.
 
 ..
index eb086ebefe372a4a9dca1350f5a92ada92d0c1ac..dfe3e0066d5639d85c7a0735902a818979edb338 100644 (file)
@@ -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.
 
 ..