Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b79b781

Browse files
committed
Fix token.py main code vs. dict views.
1 parent 634e53f commit b79b781

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/token.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def main():
108108
name, val = match.group(1, 2)
109109
val = int(val)
110110
tokens[val] = name # reverse so we can sort them...
111-
keys = tokens.keys()
111+
keys = list(tokens.keys())
112112
keys.sort()
113113
# load the output skeleton from the target:
114114
try:

0 commit comments

Comments
 (0)