mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
[3.14] gh-141370: document undefined behavior of Py_ABS() (GH-141439) (GH-141454)
(cherry picked from commit 20f53df07d)
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
This commit is contained in:
parent
604a5a6a11
commit
b883ad17cd
1 changed files with 4 additions and 0 deletions
|
|
@ -121,6 +121,10 @@ complete listing.
|
|||
|
||||
Return the absolute value of ``x``.
|
||||
|
||||
If the result cannot be represented (for example, if ``x`` has
|
||||
:c:macro:`!INT_MIN` value for :c:expr:`int` type), the behavior is
|
||||
undefined.
|
||||
|
||||
.. versionadded:: 3.3
|
||||
|
||||
.. c:macro:: Py_ALWAYS_INLINE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue