Skip to content

Commit 9a8bc6d

Browse files
authored
gh-129813, PEP 782: Add doc reference link (#138986)
1 parent 6920fa4 commit 9a8bc6d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Doc/c-api/bytes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ called with a non-bytes parameter.
228228
The function is :term:`soft deprecated`,
229229
use the :c:type:`PyBytesWriter` API instead.
230230
231+
.. _pybyteswriter:
231232
232233
PyBytesWriter
233234
-------------

Doc/whatsnew/3.15.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,8 @@ New features
718718
and :c:data:`Py_mod_abi`.
719719
(Contributed by Petr Viktorin in :gh:`137210`.)
720720

721-
* Implement :pep:`782`, the :c:type:`PyBytesWriter` API. Add functions:
721+
* Implement :pep:`782`, the :ref:`PyBytesWriter API <pybyteswriter>`.
722+
Add functions:
722723

723724
* :c:func:`PyBytesWriter_Create`
724725
* :c:func:`PyBytesWriter_Discard`

0 commit comments

Comments
 (0)