From b79b78111ca651e5327e37f46f9a58c3a21196d7 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 26 Feb 2007 09:41:19 +0000 Subject: Fix token.py main code vs. dict views. --- Lib/token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/token.py') 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: -- cgit v1.2.1