Skip to content

Commit

Permalink
eh, maybe this will be better?
Browse files Browse the repository at this point in the history
  • Loading branch information
skirpichev committed Dec 13, 2024
1 parent 2d31e2f commit 0250f7e
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions peps/pep-0757.rst
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,8 @@ If :c:member:`PyLongExport.digits` is not ``NULL``, a private field of the
:c:func:`PyLong_FreeExport` must be called when the export is no longer
needed.
.. admonition:: CPython implementation detail
:class: warning
This function always succeeds if *obj* is a Python :class:`int` object
or a subclass.
*CPython implementation detail*: This function always succeeds if *obj* is a
Python :class:`int` object or a subclass.
On CPython 3.14, no memory copy is needed in :c:func:`PyLong_Export`, it's just
Expand All @@ -169,11 +166,8 @@ a thin wrapper to expose Python :class:`int` internal digits array.
Release the export *export_long* created by :c:func:`PyLong_Export`.
.. admonition:: CPython implementation detail
:class: warning
Calling :c:func:`PyLong_FreeExport` is optional if *export_long->digits*
is ``NULL``.
*CPython implementation detail*: Calling :c:func:`PyLong_FreeExport` is
optional if *export_long->digits* is ``NULL``.
Import API
Expand Down

0 comments on commit 0250f7e

Please sign in to comment.