commit | 8a5f8ca33b56db9af973d1f34a9b3df5271b56c0 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Wed Mar 19 05:33:36 2008 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Wed Mar 19 05:33:36 2008 +0000 |
tree | 55b17647085ff8b679f2bea803545884148c66e4 | |
parent | f733c60d9aea123a46cd41dbe4dedee7aa2f20f3 [diff] [blame] |
Run 2to3 on this library.
diff --git a/Lib/lib2to3/pgen2/token.py b/Lib/lib2to3/pgen2/token.py index 61468b3..1c81065 100755 --- a/Lib/lib2to3/pgen2/token.py +++ b/Lib/lib2to3/pgen2/token.py
@@ -67,7 +67,7 @@ #--end constants-- tok_name = {} -for _name, _value in globals().items(): +for _name, _value in list(globals().items()): if type(_value) is type(0): tok_name[_value] = _name