[3.13] gh-141370: document undefined behavior of Py_ABS() (GH-141439) (GH-141455)

(cherry picked from commit 20f53df07d)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
This commit is contained in:
Miss Islington (bot) 2025-11-12 10:57:08 +01:00 committed by GitHub
parent 51c60f3681
commit c317cf51f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -133,6 +133,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