summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2019-10-21 06:49:48 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2019-10-21 06:49:48 (GMT)
commita9ed91e6c2f0f1a9960b1382321918448228a801 (patch)
tree88fb78383fa04a76a6bea628301512f13379babb /Tools
parent919f0bc8c904d3aa13eedb2dd1fe9c6b0555a591 (diff)
downloadcpython-a9ed91e6c2f0f1a9960b1382321918448228a801.zip
cpython-a9ed91e6c2f0f1a9960b1382321918448228a801.tar.gz
cpython-a9ed91e6c2f0f1a9960b1382321918448228a801.tar.bz2
bpo-27961: Replace PY_LONG_LONG with long long. (GH-15386)
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/clinic/clinic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py
index c5edc7c..403d8a4 100755
--- a/Tools/clinic/clinic.py
+++ b/Tools/clinic/clinic.py
@@ -3016,7 +3016,7 @@ class long_long_converter(CConverter):
goto exit;
}}}}
{paramname} = PyLong_AsLongLong({argname});
- if ({paramname} == (PY_LONG_LONG)-1 && PyErr_Occurred()) {{{{
+ if ({paramname} == -1 && PyErr_Occurred()) {{{{
goto exit;
}}}}
""".format(argname=argname, paramname=self.name)