]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-101291: Add versionadded directives for PyUnstable_Long_* (#125384)
authorSergey B Kirpichev <skirpichev@gmail.com>
Sun, 13 Oct 2024 17:38:42 +0000 (20:38 +0300)
committerGitHub <noreply@github.com>
Sun, 13 Oct 2024 17:38:42 +0000 (19:38 +0200)
Doc/c-api/long.rst

index e0ae0f77a01db970a4df56b24a411862a2b8a44d..02ef8aa784646815418b7e195e0f1e102791b6d3 100644 (file)
@@ -608,6 +608,9 @@ distinguished from a number.  Use :c:func:`PyErr_Occurred` to disambiguate.
    Exactly what values are considered compact is an implementation detail
    and is subject to change.
 
+   .. versionadded:: 3.12
+
+
 .. c:function:: Py_ssize_t PyUnstable_Long_CompactValue(const PyLongObject* op)
 
    If *op* is compact, as determined by :c:func:`PyUnstable_Long_IsCompact`,
@@ -615,3 +618,5 @@ distinguished from a number.  Use :c:func:`PyErr_Occurred` to disambiguate.
 
    Otherwise, the return value is undefined.
 
+   .. versionadded:: 3.12
+