hooks:
- id: sphinx-lint
args: [--enable=default-role]
- files: ^Doc/
+ files: ^Doc/|^Misc/NEWS.d/next/
types: [rst]
-Check for `linux/limits.h` before including it in `Modules/posixmodule.c`.
+Check for ``linux/limits.h`` before including it in ``Modules/posixmodule.c``.
-:opcode:`LOAD_CLOSURE` is now a pseudo-op.
\ No newline at end of file
+:opcode:`LOAD_CLOSURE` is now a pseudo-op.
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`.
-Isolate :mod:`!_decimal` (apply :pep:`687`). Patch by Charlie Zhao.
\ No newline at end of file
+Isolate :mod:`!_decimal` (apply :pep:`687`). Patch by Charlie Zhao.
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.
-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)``.
-Added `asyncio.taskgroups.__all__` to `asyncio.__all__` for export in star imports.
+Added ``asyncio.taskgroups.__all__`` to ``asyncio.__all__`` for export in star imports.
Fix crash when calling ``repr`` with a manually constructed SignalDict object.
-Patch by Charlie Zhao.
\ No newline at end of file
+Patch by Charlie Zhao.
-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
-Remove import of :mod:``pprint`` from :mod:``sysconfig``.
+Remove import of :mod:`pprint` from :mod:`sysconfig`.
Shelves opened with :func:`shelve.open` have a much faster :meth:`clear`
-method. Patch by James Cave.
\ No newline at end of file
+method. Patch by James Cave.
-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.
-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__``.