mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
gh-141370: document undefined behavior of Py_ABS() (GH-141439)
This commit is contained in:
parent
6f988b08d1
commit
20f53df07d
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