diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-08 16:29:11 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-08 16:29:11 (GMT) |
commit | cc854499e40483d408d68201f1e6d6ae936ae13a (patch) | |
tree | 7b8bbe7a1f6f233a31b30e1ff3c8cad81bca6408 /Tools/clinic/clinic.py | |
parent | c235af47f17d2dab282237a7e49445d234f7df7e (diff) | |
download | cpython-cc854499e40483d408d68201f1e6d6ae936ae13a.zip cpython-cc854499e40483d408d68201f1e6d6ae936ae13a.tar.gz cpython-cc854499e40483d408d68201f1e6d6ae936ae13a.tar.bz2 |
clinic: PY_LONG_LONG -> long long
Diffstat (limited to 'Tools/clinic/clinic.py')
-rwxr-xr-x | Tools/clinic/clinic.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py index 282b1a0..f583fc5 100755 --- a/Tools/clinic/clinic.py +++ b/Tools/clinic/clinic.py @@ -2581,21 +2581,21 @@ class unsigned_long_converter(CConverter): if not bitwise: fail("Unsigned longs must be bitwise (for now).") -class PY_LONG_LONG_converter(CConverter): - type = 'PY_LONG_LONG' +class long_long_converter(CConverter): + type = 'long long' default_type = int format_unit = 'L' c_ignored_default = "0" -class unsigned_PY_LONG_LONG_converter(CConverter): - type = 'unsigned PY_LONG_LONG' +class unsigned_long_long_converter(CConverter): + type = 'unsigned long long' default_type = int format_unit = 'K' c_ignored_default = "0" def converter_init(self, *, bitwise=False): if not bitwise: - fail("Unsigned PY_LONG_LONGs must be bitwise (for now).") + fail("Unsigned long long must be bitwise (for now).") class Py_ssize_t_converter(CConverter): type = 'Py_ssize_t' |