summaryrefslogtreecommitdiffstats
path: root/Lib/token.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/token.py')
-rwxr-xr-xLib/token.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/token.py b/Lib/token.py
index 477827ac..cacd14dc 100755
--- a/Lib/token.py
+++ b/Lib/token.py
@@ -68,7 +68,7 @@ NT_OFFSET = 256
#--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