mirror of https://github.com/python/cpython
Run sphinx-lint on Misc/NEWS.d/next/ (#108212)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
parent
37135d25e2
commit
71962e5237
|
@ -14,5 +14,5 @@ repos:
|
|||
hooks:
|
||||
- id: sphinx-lint
|
||||
args: [--enable=default-role]
|
||||
files: ^Doc/
|
||||
files: ^Doc/|^Misc/NEWS.d/next/
|
||||
types: [rst]
|
||||
|
|
|
@ -1 +1 @@
|
|||
Check for `linux/limits.h` before including it in `Modules/posixmodule.c`.
|
||||
Check for ``linux/limits.h`` before including it in ``Modules/posixmodule.c``.
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
Specialize :opcode:`LOAD_ATTR` for non-descriptors on the class. Adds
|
||||
:opcode:`LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES` and :opcode
|
||||
`LOAD_ATTR_NONDESCRIPTOR_NO_DICT`.
|
||||
:opcode:`LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES` and :opcode:`LOAD_ATTR_NONDESCRIPTOR_NO_DICT`.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Fix potential unaligned memory access on C APIs involving returned sequences
|
||||
of `char *` pointers within the :mod:`grp` and :mod:`socket` modules. These
|
||||
of ``char *`` pointers within the :mod:`grp` and :mod:`socket` modules. These
|
||||
were revealed using a ``-fsaniziter=alignment`` build on ARM macOS. Patch by
|
||||
Christopher Chavez.
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Ensure `gettext(msg)` retrieve translations even if a plural form exists. In
|
||||
other words: `gettext(msg) == ngettext(msg, '', 1)`.
|
||||
Ensure ``gettext(msg)`` retrieve translations even if a plural form exists. In
|
||||
other words: ``gettext(msg) == ngettext(msg, '', 1)``.
|
||||
|
|
|
@ -1 +1 @@
|
|||
Added `asyncio.taskgroups.__all__` to `asyncio.__all__` for export in star imports.
|
||||
Added ``asyncio.taskgroups.__all__`` to ``asyncio.__all__`` for export in star imports.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Fixed several bugs in zipfile.Path, including: in ``Path.match`, Windows
|
||||
Fixed several bugs in zipfile.Path, including: in :meth:`zipfile.Path.match`, Windows
|
||||
separators are no longer honored (and never were meant to be); Fixed
|
||||
``name``/``suffix``/``suffixes``/``stem`` operations when no filename is
|
||||
present and the Path is not at the root of the zipfile; Reworked glob for
|
||||
|
|
|
@ -1 +1 @@
|
|||
Remove import of :mod:``pprint`` from :mod:``sysconfig``.
|
||||
Remove import of :mod:`pprint` from :mod:`sysconfig`.
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
Fix `doctest.DocTestFinder.find` in presence of class names with special characters. Patch by Gertjan van Zwieten.
|
||||
Fix :meth:`doctest.DocTestFinder.find` in presence of class names with special
|
||||
characters. Patch by Gertjan van Zwieten.
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Harmonized the pure Python version of OrderedDict with the C version. Now,
|
||||
both versions set up their internal state in `__new__`. Formerly, the pure
|
||||
Python version did the set up in `__init__`.
|
||||
Harmonized the pure Python version of :class:`~collections.OrderedDict` with the C version. Now,
|
||||
both versions set up their internal state in ``__new__``. Formerly, the pure
|
||||
Python version did the set up in ``__init__``.
|
||||
|
|
Loading…
Reference in New Issue