From 108d330f50264d6779b39a2b73bee254cb741f75 Mon Sep 17 00:00:00 2001 From: Sergey B Kirpichev Date: Mon, 9 Dec 2024 13:04:14 +0300 Subject: [PATCH] PEP 757: Mark as Accepted (#4159) * Remove implementation details from PyLongExport docs * Set PEP 757 status to Accepted Co-authored-by: Alyssa Coghlan --- peps/pep-0757.rst | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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)