Skip to content

Commit 7c65adf

Browse files
closes bpo-38253: Fix typo of Py_SET_ERANGE_IF_OVERFLOW in pyport.h. (GH-16230)
(cherry picked from commit 4346bad) Co-authored-by: Hai Shi <[email protected]>
1 parent c47c8ba commit 7c65adf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/pyport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ extern "C" {
481481
} \
482482
} while(0)
483483

484-
/* Py_SET_ERANGE_ON_OVERFLOW(x)
484+
/* Py_SET_ERANGE_IF_OVERFLOW(x)
485485
* An alias of Py_SET_ERRNO_ON_MATH_ERROR for backward-compatibility.
486486
*/
487487
#define Py_SET_ERANGE_IF_OVERFLOW(X) Py_SET_ERRNO_ON_MATH_ERROR(X)

0 commit comments

Comments
 (0)