Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move PyLong* symbols to long.rst
  • Loading branch information
ZeroIntensity committed Nov 19, 2025
commit d02736d2114724f2a8b7b97300219c9ad549e67f
13 changes: 13 additions & 0 deletions Doc/c-api/long.rst
Original file line number Diff line number Diff line change
Expand Up @@ -855,3 +855,16 @@ The :c:type:`PyLongWriter` API can be used to import an integer.
If *writer* is ``NULL``, no operation is performed.

The writer instance and the *digits* array are invalid after the call.


Deprecated API
^^^^^^^^^^^^^^

.. c:macro:: PyLong_BASE
.. c:macro:: PyLong_SHIFT
.. c:macro:: PyLong_MASK

These macros are :term:`soft deprecated`. They represent internal constants
for :c:type:`PyLongObject` instances.

Do not use these; use :c:func:`PyLong_GetNativeLayout` instead.
Comment thread
ZeroIntensity marked this conversation as resolved.
Outdated