-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove implementation details from PyLongExport docs * Set PEP 757 status to Accepted Co-authored-by: Alyssa Coghlan <[email protected]>
- Loading branch information
1 parent
ea3063e
commit 108d330
Showing
1 changed file
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,11 +3,12 @@ Title: C API to import-export Python integers | |
Author: Sergey B Kirpichev <[email protected]>, | ||
Victor Stinner <[email protected]> | ||
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 <https://discuss.python.org/t/63895>`__ | ||
Resolution: `08-Dec-2024 <https://discuss.python.org/t/63895/79>`__ | ||
|
||
.. 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) | ||
|