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:
_______________________________________________
Python-3000-checkins mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000-checkins

Reply via email to