diff --git a/peps/pep-0757.rst b/peps/pep-0757.rst index be87320a3a8..6a1f5cd52df 100644 --- a/peps/pep-0757.rst +++ b/peps/pep-0757.rst @@ -3,11 +3,12 @@ Title: C API to import-export Python integers Author: Sergey B Kirpichev , Victor Stinner Discussions-To: https://discuss.python.org/t/63895 -Status: Draft +Status: Accepted Type: Standards Track Created: 13-Sep-2024 Python-Version: 3.14 Post-History: `14-Sep-2024 `__ +Resolution: `08-Dec-2024 `__ .. highlight:: c @@ -133,10 +134,11 @@ Export API Read-only array of unsigned digits. Can be ``NULL``. - If :c:member:`digits` not ``NULL``, a private field of the - :c:struct:`PyLongExport` structure stores a strong reference to the Python - :class:`int` object to make sure that that structure remains valid until - :c:func:`PyLong_FreeExport()` is called. + +If :c:member:`PyLongExport.digits` is not ``NULL``, a private field of the +:c:struct:`PyLongExport` structure stores a strong reference to the Python +:class:`int` object to make sure that that structure remains valid until +:c:func:`PyLong_FreeExport()` is called. .. c:function:: int PyLong_Export(PyObject *obj, PyLongExport *export_long)