]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-101291: Add versionadded directives for PyUnstable_Long_* (GH-125384) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 13 Oct 2024 17:44:50 +0000 (19:44 +0200)
committerGitHub <noreply@github.com>
Sun, 13 Oct 2024 17:44:50 +0000 (17:44 +0000)
gh-101291: Add versionadded directives for PyUnstable_Long_* (GH-125384)
(cherry picked from commit c6d7b644c2425b397cfb641f336bea70eb8a329a)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Doc/c-api/long.rst

index c9e277680aba43f72d28b480bbe2b592eabbdf14..638be61c5b8091e974450654c489336b09af133f 100644 (file)
@@ -538,6 +538,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`,
@@ -545,3 +548,5 @@ distinguished from a number.  Use :c:func:`PyErr_Occurred` to disambiguate.
 
    Otherwise, the return value is undefined.
 
+   .. versionadded:: 3.12
+