https://github.com/python/cpython/commit/9a8bc6d4a46cc5af1e3a98b0c147496f2ddd17ae
commit: 9a8bc6d4a46cc5af1e3a98b0c147496f2ddd17ae
branch: main
author: Victor Stinner <[email protected]>
committer: vstinner <[email protected]>
date: 2025-09-16T15:51:45+02:00
summary:
gh-129813, PEP 782: Add doc reference link (#138986)
files:
M Doc/c-api/bytes.rst
M Doc/whatsnew/3.15.rst
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 <pybyteswriter>`.
+ Add functions:
* :c:func:`PyBytesWriter_Create`
* :c:func:`PyBytesWriter_Discard`
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]