https://github.com/python/cpython/commit/c6d7b644c2425b397cfb641f336bea70eb8a329a
commit: c6d7b644c2425b397cfb641f336bea70eb8a329a
branch: main
author: Sergey B Kirpichev <[email protected]>
committer: vstinner <[email protected]>
date: 2024-10-13T19:38:42+02:00
summary:
gh-101291: Add versionadded directives for PyUnstable_Long_* (#125384)
files:
M Doc/c-api/long.rst
diff --git a/Doc/c-api/long.rst b/Doc/c-api/long.rst
index e0ae0f77a01db9..02ef8aa7846468 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
+
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]