E5FF
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 c9ead96 commit 517f0b4Copy full SHA for 517f0b4
Doc/c-api/long.rst
@@ -538,10 +538,15 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
538
Exactly what values are considered compact is an implementation detail
539
and is subject to change.
540
541
+ .. versionadded:: 3.12
542
+
543
544
.. c:function:: Py_ssize_t PyUnstable_Long_CompactValue(const PyLongObject* op)
545
546
If *op* is compact, as determined by :c:func:`PyUnstable_Long_IsCompact`,
547
return its value.
548
549
Otherwise, the return value is undefined.
550
551
552
0 commit comments