mirror of
https://github.com/python/cpython.git
synced 2025-10-03 13:45:29 +00:00
[3.13] gh-101291: Add versionadded directives for PyUnstable_Long_* (GH-125384) (#125407)
gh-101291: Add versionadded directives for PyUnstable_Long_* (GH-125384)
(cherry picked from commit c6d7b644c2
)
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
This commit is contained in:
parent
c9ead96249
commit
cff627a27d
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue