diff options
author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2019-10-21 06:49:48 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2019-10-21 06:49:48 (GMT) |
commit | a9ed91e6c2f0f1a9960b1382321918448228a801 (patch) | |
tree | 88fb78383fa04a76a6bea628301512f13379babb /Tools/clinic | |
parent | 919f0bc8c904d3aa13eedb2dd1fe9c6b0555a591 (diff) | |
download | cpython-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/clinic')
-rwxr-xr-x | Tools/clinic/clinic.py | 2 |
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) |