Skip to content

Commit d02736d

Browse files
committed
Move PyLong* symbols to long.rst
1 parent 5516aeb commit d02736d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Doc/c-api/long.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -855,3 +855,16 @@ The :c:type:`PyLongWriter` API can be used to import an integer.
855855
If *writer* is ``NULL``, no operation is performed.
856856
857857
The writer instance and the *digits* array are invalid after the call.
858+
859+
860+
Deprecated API
861+
^^^^^^^^^^^^^^
862+
863+
.. c:macro:: PyLong_BASE
864+
.. c:macro:: PyLong_SHIFT
865+
.. c:macro:: PyLong_MASK
866+
867+
These macros are :term:`soft deprecated`. They represent internal constants
868+
for :c:type:`PyLongObject` instances.
869+
870+
Do not use these; use :c:func:`PyLong_GetNativeLayout` instead.

0 commit comments

Comments
 (0)