diff options
-rwxr-xr-x | Lib/token.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/token.py b/Lib/token.py index cacd14dc33..2257ebfe9b 100755 --- a/Lib/token.py +++ b/Lib/token.py @@ -108,7 +108,7 @@ def main(): name, val = match.group(1, 2) val = int(val) tokens[val] = name # reverse so we can sort them... - keys = tokens.keys() + keys = list(tokens.keys()) keys.sort() # load the output skeleton from the target: try: |