Run sphinx-lint on Misc/NEWS.d/next/ (#108212)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
This commit is contained in:
Hugo van Kemenade 2023-08-21 16:13:55 +03:00 committed by GitHub
parent 37135d25e2
commit 71962e5237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 18 additions and 18 deletions

View File

@ -14,5 +14,5 @@ repos:
hooks:
- id: sphinx-lint
args: [--enable=default-role]
files: ^Doc/
files: ^Doc/|^Misc/NEWS.d/next/
types: [rst]

View File

@ -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``.

View File

@ -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`.

View File

@ -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.

View File

@ -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)``.

View File

@ -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.

View File

@ -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

View File

@ -1 +1 @@
Remove import of :mod:``pprint`` from :mod:``sysconfig``.
Remove import of :mod:`pprint` from :mod:`sysconfig`.

View File

@ -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.

View File

@ -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__``.