Skip to content

Commit 4346bad

Browse files
shihai1991benjaminp
authored andcommitted
closes bpo-38253: Fix typo of Py_SET_ERANGE_IF_OVERFLOW in pyport.h. (GH-16230)
1 parent 85ce0a7 commit 4346bad

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
@@ -338,7 +338,7 @@ extern "C" {
338338
} \
339339
} while(0)
340340

341-
/* Py_SET_ERANGE_ON_OVERFLOW(x)
341+
/* Py_SET_ERANGE_IF_OVERFLOW(x)
342342
* An alias of Py_SET_ERRNO_ON_MATH_ERROR for backward-compatibility.
343343
*/
344344
#define Py_SET_ERANGE_IF_OVERFLOW(X) Py_SET_ERRNO_ON_MATH_ERROR(X)

0 commit comments

Comments
 (0)