[Python-3000-checkins] r53931 - python/branches/p3yk/Lib/token.py

georg.brandl python-3000-checkins at python.org
Mon Feb 26 10:41:21 CET 2007


Author: georg.brandl
Date: Mon Feb 26 10:41:19 2007
New Revision: 53931

Modified:
   python/branches/p3yk/Lib/token.py
Log:
Fix token.py main code vs. dict views.



Modified: python/branches/p3yk/Lib/token.py
==============================================================================
--- python/branches/p3yk/Lib/token.py	(original)
+++ python/branches/p3yk/Lib/token.py	Mon Feb 26 10:41:19 2007
@@ -108,7 +108,7 @@
             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:


More information about the Python-3000-checkins mailing list