From: Georg Brandl Date: Mon, 26 Feb 2007 09:41:19 +0000 (+0000) Subject: Fix token.py main code vs. dict views. X-Git-Tag: v3.0a1~1180 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b79b78111ca651e5327e37f46f9a58c3a21196d7;p=thirdparty%2FPython%2Fcpython.git Fix token.py main code vs. dict views. --- diff --git a/Lib/token.py b/Lib/token.py index cacd14dc332f..2257ebfe9b22 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: