Skip to content

Commit c6d7b64

Browse files
authored
gh-101291: Add versionadded directives for PyUnstable_Long_* (#125384)
1 parent e79bbd1 commit c6d7b64

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
@@ -608,10 +608,15 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
608608
Exactly what values are considered compact is an implementation detail
609609
and is subject to change.
610610
611+
.. versionadded:: 3.12
612+
613+
611614
.. c:function:: Py_ssize_t PyUnstable_Long_CompactValue(const PyLongObject* op)
612615
613616
If *op* is compact, as determined by :c:func:`PyUnstable_Long_IsCompact`,
614617
return its value.
615618
616619
Otherwise, the return value is undefined.
617620
621+
.. versionadded:: 3.12
622+

0 commit comments

Comments
 (0)