Skip to content

Commit 912b5a9

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 6641a10 commit 912b5a9

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
@@ -324,7 +324,7 @@ extern "C" {
324324
} \
325325
} while(0)
326326

327-
/* Py_SET_ERANGE_ON_OVERFLOW(x)
327+
/* Py_SET_ERANGE_IF_OVERFLOW(x)
328328
* An alias of Py_SET_ERRNO_ON_MATH_ERROR for backward-compatibility.
329329
*/
330330
#define Py_SET_ERANGE_IF_OVERFLOW(X) Py_SET_ERRNO_ON_MATH_ERROR(X)

0 commit comments

Comments
 (0)