Skip to content

Commit 71962e5

Browse files
hugovkAlexWaygood
andauthored
Run sphinx-lint on Misc/NEWS.d/next/ (#108212)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent 37135d2 commit 71962e5

14 files changed

+18
-18
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ repos:
1414
hooks:
1515
- id: sphinx-lint
1616
args: [--enable=default-role]
17-
files: ^Doc/
17+
files: ^Doc/|^Misc/NEWS.d/next/
1818
types: [rst]
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Check for `linux/limits.h` before including it in `Modules/posixmodule.c`.
1+
Check for ``linux/limits.h`` before including it in ``Modules/posixmodule.c``.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
:opcode:`LOAD_CLOSURE` is now a pseudo-op.
1+
:opcode:`LOAD_CLOSURE` is now a pseudo-op.
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
Specialize :opcode:`LOAD_ATTR` for non-descriptors on the class. Adds
2-
:opcode:`LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES` and :opcode
3-
`LOAD_ATTR_NONDESCRIPTOR_NO_DICT`.
2+
:opcode:`LOAD_ATTR_NONDESCRIPTOR_WITH_VALUES` and :opcode:`LOAD_ATTR_NONDESCRIPTOR_NO_DICT`.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Isolate :mod:`!_decimal` (apply :pep:`687`). Patch by Charlie Zhao.
1+
Isolate :mod:`!_decimal` (apply :pep:`687`). Patch by Charlie Zhao.
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Fix potential unaligned memory access on C APIs involving returned sequences
2-
of `char *` pointers within the :mod:`grp` and :mod:`socket` modules. These
2+
of ``char *`` pointers within the :mod:`grp` and :mod:`socket` modules. These
33
were revealed using a ``-fsaniziter=alignment`` build on ARM macOS. Patch by
44
Christopher Chavez.
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Ensure `gettext(msg)` retrieve translations even if a plural form exists. In
2-
other words: `gettext(msg) == ngettext(msg, '', 1)`.
1+
Ensure ``gettext(msg)`` retrieve translations even if a plural form exists. In
2+
other words: ``gettext(msg) == ngettext(msg, '', 1)``.
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Added `asyncio.taskgroups.__all__` to `asyncio.__all__` for export in star imports.
1+
Added ``asyncio.taskgroups.__all__`` to ``asyncio.__all__`` for export in star imports.
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Fix crash when calling ``repr`` with a manually constructed SignalDict object.
2-
Patch by Charlie Zhao.
2+
Patch by Charlie Zhao.

Misc/NEWS.d/next/Library/2023-07-14-16-54-13.gh-issue-106752.BT1Yxw.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Fixed several bugs in zipfile.Path, including: in ``Path.match`, Windows
1+
Fixed several bugs in zipfile.Path, including: in :meth:`zipfile.Path.match`, Windows
22
separators are no longer honored (and never were meant to be); Fixed
33
``name``/``suffix``/``suffixes``/``stem`` operations when no filename is
44
present and the Path is not at the root of the zipfile; Reworked glob for
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Remove import of :mod:``pprint`` from :mod:``sysconfig``.
1+
Remove import of :mod:`pprint` from :mod:`sysconfig`.
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Shelves opened with :func:`shelve.open` have a much faster :meth:`clear`
2-
method. Patch by James Cave.
2+
method. Patch by James Cave.
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Fix `doctest.DocTestFinder.find` in presence of class names with special characters. Patch by Gertjan van Zwieten.
1+
Fix :meth:`doctest.DocTestFinder.find` in presence of class names with special
2+
characters. Patch by Gertjan van Zwieten.
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
Harmonized the pure Python version of OrderedDict with the C version. Now,
2-
both versions set up their internal state in `__new__`. Formerly, the pure
3-
Python version did the set up in `__init__`.
1+
Harmonized the pure Python version of :class:`~collections.OrderedDict` with the C version. Now,
2+
both versions set up their internal state in ``__new__``. Formerly, the pure
3+
Python version did the set up in ``__init__``.

0 commit comments

Comments
 (0)