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`