We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a5c410 commit d91ac52Copy full SHA for d91ac52
Doc/c-api/long.rst
@@ -514,6 +514,17 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
514
.. versionadded:: 3.14
515
516
517
+.. c:function:: PyObject* PyLong_GetInfo(void)
518
+
519
+ On success, return a read only :term:`named tuple`, that holds
520
+ information about Python's internal representation of integers.
521
+ See :data:`sys.int_info` for description of individual fields.
522
523
+ On failure, return ``NULL`` with an exception set.
524
525
+ .. versionadded:: 3.1
526
527
528
.. c:function:: int PyUnstable_Long_IsCompact(const PyLongObject* op)
529
530
Return 1 if *op* is compact, 0 otherwise.
0 commit comments