From 9a8bc6d4a46cc5af1e3a98b0c147496f2ddd17ae Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 16 Sep 2025 14:51:45 +0100 Subject: [PATCH] gh-129813, PEP 782: Add doc reference link (#138986) --- Doc/c-api/bytes.rst | 1 + Doc/whatsnew/3.15.rst | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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` -- 2.47.3