diff options
author | Sergey B Kirpichev <skirpichev@gmail.com> | 2024-10-13 17:38:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-13 17:38:42 (GMT) |
commit | c6d7b644c2425b397cfb641f336bea70eb8a329a (patch) | |
tree | 87abba336ca250255cd3088d16edebcd296f93d4 /Doc | |
parent | e79bbd147fd58e825572f1aa93c5398953289fb2 (diff) | |
download | cpython-c6d7b644c2425b397cfb641f336bea70eb8a329a.zip cpython-c6d7b644c2425b397cfb641f336bea70eb8a329a.tar.gz cpython-c6d7b644c2425b397cfb641f336bea70eb8a329a.tar.bz2 |
gh-101291: Add versionadded directives for PyUnstable_Long_* (#125384)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/c-api/long.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst index e0ae0f7..02ef8aa 100644 --- a/Doc/c-api/long.rst +++ b/Doc/c-api/long.rst @@ -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 + |