Skip to content

Commit a7c73a0

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 7f7cd89 commit a7c73a0

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
@@ -345,7 +345,7 @@ extern "C" {
345345
} \
346346
} while(0)
347347

348-
/* Py_SET_ERANGE_ON_OVERFLOW(x)
348+
/* Py_SET_ERANGE_IF_OVERFLOW(x)
349349
* An alias of Py_SET_ERRNO_ON_MATH_ERROR for backward-compatibility.
350350
*/
351351
#define Py_SET_ERANGE_IF_OVERFLOW(X) Py_SET_ERRNO_ON_MATH_ERROR(X)

0 commit comments

Comments
 (0)