closes bpo-38253: Fix typo of Py_SET_ERANGE_IF_OVERFLOW in pyport.h. (GH-16230)

This commit is contained in:
Hai Shi 2019-09-23 21:20:47 -05:00 committed by Benjamin Peterson
parent 85ce0a7178
commit 4346bad332

View file

@ -338,7 +338,7 @@ extern "C" {
} \
} while(0)
/* Py_SET_ERANGE_ON_OVERFLOW(x)
/* Py_SET_ERANGE_IF_OVERFLOW(x)
* An alias of Py_SET_ERRNO_ON_MATH_ERROR for backward-compatibility.
*/
#define Py_SET_ERANGE_IF_OVERFLOW(X) Py_SET_ERRNO_ON_MATH_ERROR(X)