]> granicus.if.org Git - python/commitdiff
closes bpo-38253: Fix typo of Py_SET_ERANGE_IF_OVERFLOW in pyport.h. (GH-16230)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 24 Sep 2019 02:41:06 +0000 (19:41 -0700)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2019 02:41:06 +0000 (19:41 -0700)
(cherry picked from commit 4346bad3321699d49a45e3446270b57726ab5c8f)

Co-authored-by: Hai Shi <shihai1992@gmail.com>
Include/pyport.h

index 32d98c59a7c1341aa39e0b862f2d7ef3e37d2f40..71f5794ded72e1179bef5952a6b4a86e6fefff98 100644 (file)
@@ -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)