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 80dc032..1c66f6d 100755
--- a/Lib/token.py
+++ b/Lib/token.py
@@ -104,7 +104,7 @@ def main():
match = prog.match(line)
if match:
name, val = match.group(1, 2)
- val = string.atoi(val)
+ val = int(val)
tokens[val] = name # reverse so we can sort them...
keys = tokens.keys()
keys.sort()