summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-23 19:31:25 -0700
committerGitHub <noreply@github.com>2019-09-23 19:31:25 -0700
commit7c65adf688dfadb113eec64374d8d5ccb4fc892b (patch)
tree3e01e1806e31c4a2f96eb328be72a6d5fea2095b
parentc47c8ba2969c9faf1c036b3dc4b0a5cf0d3aa0cc (diff)
downloadcpython-git-7c65adf688dfadb113eec64374d8d5ccb4fc892b.tar.gz
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 <shihai1992@gmail.com>
-rw-r--r--Include/pyport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 0c78a1e5b6..35562a6a89 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)