From 085e0e41f61222af9139d97ee6c4cf64588d4217 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 16 Sep 2025 15:40:19 +0200 Subject: [PATCH] gh-129813, PEP 782: Add doc reference link --- 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 89ff070f1c5cf7..177ebf6c6b3f45 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 0775edc6830f57..ac09c57441e540 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`