]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Run sphinx-lint on Misc/NEWS.d/next/ (#108212)
authorHugo van Kemenade <hugovk@users.noreply.github.com>
Mon, 21 Aug 2023 13:13:55 +0000 (16:13 +0300)
committerGitHub <noreply@github.com>
Mon, 21 Aug 2023 13:13:55 +0000 (13:13 +0000)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
14 files changed:
.pre-commit-config.yaml
Misc/NEWS.d/next/Build/2023-07-28-18-17-33.gh-issue-106881.U3Ezdq.rst
Misc/NEWS.d/next/Core and Builtins/2023-06-24-10-34-27.gh-issue-105775.OqjoGV.rst
Misc/NEWS.d/next/Core and Builtins/2023-07-04-04-50-14.gh-issue-100288.yNQ1ez.rst
Misc/NEWS.d/next/Core and Builtins/2023-07-27-11-18-04.gh-issue-106078.WEy2Yn.rst
Misc/NEWS.d/next/Core and Builtins/2023-07-27-11-47-29.gh-issue-104432.oGHF-z.rst
Misc/NEWS.d/next/Library/2020-05-03-00-33-15.bpo-18319.faPTlx.rst
Misc/NEWS.d/next/Library/2023-06-25-12-28-55.gh-issue-106075.W7tMRb.rst
Misc/NEWS.d/next/Library/2023-06-30-16-42-44.gh-issue-106263.tk-t93.rst
Misc/NEWS.d/next/Library/2023-07-14-16-54-13.gh-issue-106752.BT1Yxw.rst
Misc/NEWS.d/next/Library/2023-07-16-10-40-34.gh-issue-106789.NvyE3C.rst
Misc/NEWS.d/next/Library/2023-07-22-21-57-34.gh-issue-107089.Dnget2.rst
Misc/NEWS.d/next/Library/2023-08-07-14-12-07.gh-issue-107715.238r2f.rst
Misc/NEWS.d/next/Library/2023-08-17-14-45-25.gh-issue-105736.NJsH7r.rst

index 85a6de4abe014670fbc9e16f550bdc7a989cc2fc..451cbe8bc84820a2e4e4be38db8e1bffcfed09cf 100644 (file)
@@ -14,5 +14,5 @@ repos:
     hooks:
       - id: sphinx-lint
         args: [--enable=default-role]
-        files: ^Doc/
+        files: ^Doc/|^Misc/NEWS.d/next/
         types: [rst]
index 40b2609e95c7e9348aba3bd595352916f38aed26..7febf99c48a79be113c95f0a9ae6c2f4337540c0 100644 (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``.
index 27d0e9929794f4815169b83aa5b795866d607912..57a30f601379c20e9d6677bf4c6cff32bab668f3 100644 (file)
@@ -1 +1 @@
-:opcode:`LOAD_CLOSURE` is now a pseudo-op.
\ No newline at end of file
+:opcode:`LOAD_CLOSURE` is now a pseudo-op.
index faf43bd0c2f48ebbe515c18a2e9be43022e4690b..0d074ffa9942d4e3ee808654cf95b15589077b17 100644 (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`.
index f5a0e539e5d05f7918cf4a3e7658575b89d23516..60d3304a3fab93ba0834e37f09196e89df70cc0f 100644 (file)
@@ -1 +1 @@
-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.
index e47927b4e11886f5d22f3f41c5641d1c4df258a2..a9ab5cd43f0ffbaaf6e5f5278397443589d8ab55 100644 (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.
index a1a4cf6d63725a110a906ecdfb8ba601adb5b1d9..94d7cc9deadbb1efb2d09e3728c1362683ddb926 100644 (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)``.
index d2687154a585946361d84b296f1af0e336eac937..0c24ff70334e1740ea2cc90d0b9cbe9976b607cd 100644 (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.
index 23763818d84ba5d7a846c625aa46cc1816ac30be..d86a6bfdabbfb0f2f9b8e4920745768e159ad134 100644 (file)
@@ -1,2 +1,2 @@
 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.
index bbc53d76decbc38870de5efec2b0ec01d46ec923..bcda64153413df05a648ded253c1f5c5956a1769 100644 (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
index 532f8059740daf8b27b591cde502652801a455d7..b9cf35adf95523399a84186af714cca2daf9bcea 100644 (file)
@@ -1 +1 @@
-Remove import of :mod:``pprint`` from :mod:``sysconfig``.
+Remove import of :mod:`pprint` from :mod:`sysconfig`.
index 9d5ba1a2d7ccba8b2226731f3e19c9cdef7d659c..3c29ddaa634ca8504992ff80f8658de4188deb0f 100644 (file)
@@ -1,2 +1,2 @@
 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.
index cd2a5d0d5324a20743c84161beaa577cbb5320dd..deea9af01c4ebda51220eec25744959082435b69 100644 (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.
index f051317d141ff5568ac5a30a87410403c2919377..1d959a3b22284c2ddd3e9d3cd1adb552fb063273 100644 (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__``.