]> git.ipfire.org Git - thirdparty/Python/cpython.git/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:31:25 +0000 (19:31 -0700)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2019 02:31:25 +0000 (19:31 -0700)
(cherry picked from commit 4346bad3321699d49a45e3446270b57726ab5c8f)

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

index 0c78a1e5b668d3b6dd574cdb38834847ec7c685b..35562a6a89e63d08c5daa37a143232cf235909d8 100644 (file)
@@ -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)