Skip to content

Commit cff627a

Browse files
[3.13] gh-101291: Add versionadded directives for PyUnstable_Long_* (GH-125384) (#125407)
gh-101291: Add versionadded directives for PyUnstable_Long_* (GH-125384) (cherry picked from commit c6d7b64) Co-authored-by: Sergey B Kirpichev <[email protected]>
1 parent c9ead96 commit cff627a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/c-api/long.rst

+5
Original file line numberDiff line numberDiff line change
@@ -538,10 +538,15 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
538538
Exactly what values are considered compact is an implementation detail
539539
and is subject to change.
540540
541+
.. versionadded:: 3.12
542+
543+
541544
.. c:function:: Py_ssize_t PyUnstable_Long_CompactValue(const PyLongObject* op)
542545
543546
If *op* is compact, as determined by :c:func:`PyUnstable_Long_IsCompact`,
544547
return its value.
545548
546549
Otherwise, the return value is undefined.
547550
551+
.. versionadded:: 3.12
552+

0 commit comments

Comments
 (0)