Skip to content

Commit

Permalink
PEP 757: Mark as Accepted (#4159)
Browse files Browse the repository at this point in the history
* Remove implementation details from  PyLongExport docs

* Set PEP 757 status to Accepted

Co-authored-by: Alyssa Coghlan <[email protected]>
  • Loading branch information
skirpichev and ncoghlan authored Dec 9, 2024
1 parent ea3063e commit 108d330
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions peps/pep-0757.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 108d330

Please sign in to comment.