From: Victor Stinner Date: Tue, 16 Sep 2025 13:51:45 +0000 (+0100) Subject: gh-129813, PEP 782: Add doc reference link (#138986) X-Git-Tag: v3.15.0a1~330 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9a8bc6d4a46cc5af1e3a98b0c147496f2ddd17ae;p=thirdparty%2FPython%2Fcpython.git gh-129813, PEP 782: Add doc reference link (#138986) --- diff --git a/Doc/c-api/bytes.rst b/Doc/c-api/bytes.rst index 89ff070f1c5c..177ebf6c6b3f 100644 --- a/Doc/c-api/bytes.rst +++ b/Doc/c-api/bytes.rst @@ -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 ------------- diff --git a/Doc/whatsnew/3.15.rst b/Doc/whatsnew/3.15.rst index 0775edc6830f..ac09c57441e5 100644 --- a/Doc/whatsnew/3.15.rst +++ b/Doc/whatsnew/3.15.rst @@ -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 `. + Add functions: * :c:func:`PyBytesWriter_Create` * :c:func:`PyBytesWriter_Discard`