[Python-checkins] closes bpo-38253: Fix typo of Py_SET_ERANGE_IF_OVERFLOW in pyport.h. (GH-16230)

Miss Islington (bot) webhook-mailer at python.org
Mon Sep 23 22:41:10 EDT 2019


https://github.com/python/cpython/commit/a7c73a0094c336e5f10d9364f244be70683409ff
commit: a7c73a0094c336e5f10d9364f244be70683409ff
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-09-23T19:41:06-07:00
summary:

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 at gmail.com>

files:
M Include/pyport.h

diff --git a/Include/pyport.h b/Include/pyport.h
index 32d98c59a7c1..71f5794ded72 100644
--- a/Include/pyport.h
+++ b/Include/pyport.h
@@ -345,7 +345,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)



More information about the Python-checkins mailing list