Skip to content

Commit 108d330

Browse files
skirpichevncoghlan
andauthored
PEP 757: Mark as Accepted (#4159)
* Remove implementation details from PyLongExport docs * Set PEP 757 status to Accepted Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
1 parent ea3063e commit 108d330

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

peps/pep-0757.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ Title: C API to import-export Python integers
33
Author: Sergey B Kirpichev <skirpichev@gmail.com>,
44
Victor Stinner <vstinner@python.org>
55
Discussions-To: https://discuss.python.org/t/63895
6-
Status: Draft
6+
Status: Accepted
77
Type: Standards Track
88
Created: 13-Sep-2024
99
Python-Version: 3.14
1010
Post-History: `14-Sep-2024 <https://discuss.python.org/t/63895>`__
11+
Resolution: `08-Dec-2024 <https://discuss.python.org/t/63895/79>`__
1112

1213
.. highlight:: c
1314

@@ -133,10 +134,11 @@ Export API
133134
134135
Read-only array of unsigned digits. Can be ``NULL``.
135136
136-
If :c:member:`digits` not ``NULL``, a private field of the
137-
:c:struct:`PyLongExport` structure stores a strong reference to the Python
138-
:class:`int` object to make sure that that structure remains valid until
139-
:c:func:`PyLong_FreeExport()` is called.
137+
138+
If :c:member:`PyLongExport.digits` is not ``NULL``, a private field of the
139+
:c:struct:`PyLongExport` structure stores a strong reference to the Python
140+
:class:`int` object to make sure that that structure remains valid until
141+
:c:func:`PyLong_FreeExport()` is called.
140142
141143
142144
.. c:function:: int PyLong_Export(PyObject *obj, PyLongExport *export_long)

0 commit comments

Comments
 (0)