[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:
Miss Islington (bot) 2025-11-12 10:56:47 +01:00 committed by GitHub
parent 604a5a6a11
commit b883ad17cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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