mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
Fix typos in documentation (#119092)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
033f5c87f1
commit
65de194dd8
@ -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.
|
||||
|
||||
..
|
||||
|
||||
|
@ -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.
|
||||
|
||||
..
|
||||
|
@ -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)
|
||||
|
||||
..
|
||||
|
@ -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.
|
||||
|
||||
..
|
||||
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
..
|
||||
|
@ -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().
|
||||
|
||||
..
|
||||
|
||||
|
@ -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.
|
||||
|
||||
..
|
||||
|
@ -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.
|
||||
|
||||
..
|
||||
|
Loading…
Reference in New Issue
Block a user