Skip to content

Commit 243a8a9

Browse files
[3.12] gh-101291: Add versionadded directives for PyUnstable_Long_* (GH-125384) (#125408)
gh-101291: Add versionadded directives for PyUnstable_Long_* (GH-125384) (cherry picked from commit c6d7b64) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
1 parent 00c596d commit 243a8a9

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
@@ -350,10 +350,15 @@ distinguished from a number. Use :c:func:`PyErr_Occurred` to disambiguate.
350350
Exactly what values are considered compact is an implementation detail
351351
and is subject to change.
352352
353+
.. versionadded:: 3.12
354+
355+
353356
.. c:function:: Py_ssize_t PyUnstable_Long_CompactValue(const PyLongObject* op)
354357
355358
If *op* is compact, as determined by :c:func:`PyUnstable_Long_IsCompact`,
356359
return its value.
357360
358361
Otherwise, the return value is undefined.
359362
363+
.. versionadded:: 3.12
364+

0 commit comments

Comments
 (0)