]> granicus.if.org Git - python/commitdiff
closes bpo-38253: Fix typo of Py_SET_ERANGE_IF_OVERFLOW in pyport.h. (GH-16230)
authorHai Shi <shihai1992@gmail.com>
Tue, 24 Sep 2019 02:20:47 +0000 (21:20 -0500)
committerBenjamin Peterson <benjamin@python.org>
Tue, 24 Sep 2019 02:20:47 +0000 (19:20 -0700)
Include/pyport.h

index 19415001c5b087370219800834b604ad2dbad6bf..51967d186672c08219118ee754e9205ae4495825 100644 (file)
@@ -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)