Skip to content

Commit 0ca938c

Browse files
committed
address review: a separate paragraph and example
1 parent aef2999 commit 0ca938c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Doc/c-api/intro.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,11 @@ complete listing.
119119

120120
.. c:macro:: Py_ABS(x)
121121
122-
Return the absolute value of ``x``. If the result cannot be represented in
123-
same type, the behavior is undefined.
122+
Return the absolute value of ``x``.
123+
124+
If the result cannot be represented (for example, if ``x`` has
125+
:c:macro:`!INT_MIN` value for :c:expr:`int` type), the behavior is
126+
undefined.
124127

125128
.. versionadded:: 3.3
126129

0 commit comments

Comments
 (0)