Skip to content

Commit

Permalink
Run sphinx-lint on Misc/NEWS.d/next/ (python#108212)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
  • Loading branch information
hugovk and AlexWaygood committed Aug 21, 2023
1 parent 37135d2 commit 71962e5
Show file tree
Hide file tree
Showing 14 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ repos:
hooks:
- id: sphinx-lint
args: [--enable=default-role]
files: ^Doc/
files: ^Doc/|^Misc/NEWS.d/next/
types: [rst]
Original file line number Diff line number Diff line change
@@ -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``.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
:opcode:`LOAD_CLOSURE` is now a pseudo-op.
:opcode:`LOAD_CLOSURE` is now a pseudo-op.
Original file line number Diff line number Diff line change
@@ -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`.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Isolate :mod:`!_decimal` (apply :pep:`687`). Patch by Charlie Zhao.
Isolate :mod:`!_decimal` (apply :pep:`687`). Patch by Charlie Zhao.
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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)``.
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Fix crash when calling ``repr`` with a manually constructed SignalDict object.
Patch by Charlie Zhao.
Patch by Charlie Zhao.
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Remove import of :mod:``pprint`` from :mod:``sysconfig``.
Remove import of :mod:`pprint` from :mod:`sysconfig`.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Shelves opened with :func:`shelve.open` have a much faster :meth:`clear`
method. Patch by James Cave.
method. Patch by James Cave.
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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__``.

0 comments on commit 71962e5

Please sign in to comment.