diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-10 00:22:33 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-10 00:22:33 +0000 |
commit | 4b3d0613cc54dffa69fdcc587d01aedcbc3e62c1 (patch) | |
tree | 94843d78c5f122ccc5724cd26159b15d4abe3c4a /Lib/token.py | |
parent | 64edfe1df51becf2aef930f761a6ec10526f736a (diff) | |
download | cpython-4b3d0613cc54dffa69fdcc587d01aedcbc3e62c1.tar.gz |
String method cleanup.
Diffstat (limited to 'Lib/token.py')
-rwxr-xr-x | Lib/token.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/token.py b/Lib/token.py index 80dc032d07..1c66f6d1cf 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() |