From 2922f3316d45f867ba7da80afe856717dfad7bea Mon Sep 17 00:00:00 2001 From: Hai Shi Date: Mon, 23 Sep 2019 21:20:47 -0500 Subject: [PATCH] closes bpo-38253: Fix typo of Py_SET_ERANGE_IF_OVERFLOW in pyport.h. (GH-16230) (cherry picked from commit 4346bad3321699d49a45e3446270b57726ab5c8f) Co-authored-by: Hai Shi --- Include/pyport.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/pyport.h b/Include/pyport.h index 0c78a1e5b668d3b..35562a6a89e63d0 100644 --- a/Include/pyport.h +++ b/Include/pyport.h @@ -481,7 +481,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)