diff options
author | Georg Brandl <georg@python.org> | 2007-02-26 09:41:19 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-02-26 09:41:19 (GMT) |
commit | b79b78111ca651e5327e37f46f9a58c3a21196d7 (patch) | |
tree | 4cb185df4b13e2e7e59d1dd7067aa057ceccf5eb /Lib/token.py | |
parent | 634e53fad4874ce7a4e822a9e93e6a9c616b652a (diff) | |
download | cpython-b79b78111ca651e5327e37f46f9a58c3a21196d7.zip cpython-b79b78111ca651e5327e37f46f9a58c3a21196d7.tar.gz cpython-b79b78111ca651e5327e37f46f9a58c3a21196d7.tar.bz2 |
Fix token.py main code vs. dict views.
Diffstat (limited to 'Lib/token.py')
-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 cacd14dc..2257ebf 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: |