summaryrefslogtreecommitdiffstats
path: root/Include/pyport.h
diff options
context:
space:
mode:
authorHai Shi <shihai1992@gmail.com>2019-09-24 02:20:47 (GMT)
committerBenjamin Peterson <benjamin@python.org>2019-09-24 02:20:47 (GMT)
commit4346bad3321699d49a45e3446270b57726ab5c8f (patch)
tree41a5e24ce6ae25d107eb95821e83ae8314d731b2 /Include/pyport.h
parent85ce0a7178801b538160cbb5cf9ef50a713c45bf (diff)
downloadcpython-4346bad3321699d49a45e3446270b57726ab5c8f.zip
cpython-4346bad3321699d49a45e3446270b57726ab5c8f.tar.gz
cpython-4346bad3321699d49a45e3446270b57726ab5c8f.tar.bz2
closes bpo-38253: Fix typo of Py_SET_ERANGE_IF_OVERFLOW in pyport.h. (GH-16230)
Diffstat (limited to 'Include/pyport.h')
-rw-r--r--Include/pyport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h
index 1941500..51967d1 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -338,7 +338,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)