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 e79bbd1 commit c6d7b64Copy full SHA for c6d7b64
Doc/c-api/long.rst
@@ -608,10 +608,15 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
608
Exactly what values are considered compact is an implementation detail
609
and is subject to change.
610
611
+ .. versionadded:: 3.12
612
+
613
614
.. c:function:: Py_ssize_t PyUnstable_Long_CompactValue(const PyLongObject* op)
615
616
If *op* is compact, as determined by :c:func:`PyUnstable_Long_IsCompact`,
617
return its value.
618
619
Otherwise, the return value is undefined.
620
621
622
0 commit comments