Commit 4346bad3 authored by Hai Shi's avatar Hai Shi Committed by Benjamin Peterson

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

parent 85ce0a71
...@@ -338,7 +338,7 @@ extern "C" { ...@@ -338,7 +338,7 @@ extern "C" {
} \ } \
} while(0) } 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. * 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) #define Py_SET_ERANGE_IF_OVERFLOW(X) Py_SET_ERRNO_ON_MATH_ERROR(X)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment