Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 725a9cd commit fe65a8bCopy full SHA for fe65a8b
1 file changed
Doc/c-api/long.rst
@@ -501,6 +501,17 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
501
.. versionadded:: 3.13
502
503
504
+.. c:function:: PyObject* PyLong_GetInfo(void)
505
+
506
+ On success, return a read only :term:`named tuple`, that holds
507
+ information about Python's internal representation of integers.
508
+ See :data:`sys.int_info` for description of individual fields.
509
510
+ On failure, return ``NULL`` with an exception set.
511
512
+ .. versionadded:: 3.1
513
514
515
.. c:function:: int PyUnstable_Long_IsCompact(const PyLongObject* op)
516
517
Return 1 if *op* is compact, 0 otherwise.
0 commit comments