diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-09-24 02:41:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-24 02:41:06 (GMT) |
commit | a7c73a0094c336e5f10d9364f244be70683409ff (patch) | |
tree | 68084d4cd64fab4212c51bd6200a6fa2fc0258a8 | |
parent | 7f7cd899e3d773b803b7af5b0c19eeff83dd69fe (diff) | |
download | cpython-a7c73a0094c336e5f10d9364f244be70683409ff.zip cpython-a7c73a0094c336e5f10d9364f244be70683409ff.tar.gz cpython-a7c73a0094c336e5f10d9364f244be70683409ff.tar.bz2 |
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@gmail.com>
-rw-r--r-- | Include/pyport.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pyport.h b/Include/pyport.h index 32d98c5..71f5794 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) |