]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-129813, PEP 782: Add doc reference link (#138986)
authorVictor Stinner <vstinner@python.org>
Tue, 16 Sep 2025 13:51:45 +0000 (14:51 +0100)
committerGitHub <noreply@github.com>
Tue, 16 Sep 2025 13:51:45 +0000 (15:51 +0200)
Doc/c-api/bytes.rst
Doc/whatsnew/3.15.rst

index 89ff070f1c5cf7fef396cee7cc3c09cbab1ff736..177ebf6c6b3f4551e0e15fa4be125e6d4e01f91a 100644 (file)
@@ -228,6 +228,7 @@ called with a non-bytes parameter.
       The function is :term:`soft deprecated`,
       use the :c:type:`PyBytesWriter` API instead.
 
+.. _pybyteswriter:
 
 PyBytesWriter
 -------------
index 0775edc6830f575f692aaa6fb4e18871231a4585..ac09c57441e540b6d3252d5c4497c0d0ee903018 100644 (file)
@@ -718,7 +718,8 @@ New features
   and :c:data:`Py_mod_abi`.
   (Contributed by Petr Viktorin in :gh:`137210`.)
 
-* Implement :pep:`782`, the :c:type:`PyBytesWriter` API. Add functions:
+* Implement :pep:`782`, the :ref:`PyBytesWriter API <pybyteswriter>`.
+  Add functions:
 
   * :c:func:`PyBytesWriter_Create`
   * :c:func:`PyBytesWriter_Discard`