diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-10 00:22:33 (GMT) |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-10 00:22:33 (GMT) |
commit | 6e025bcde84ec358734a116cefcc4acc357ee0b1 (patch) | |
tree | 0e9d1e6ec181e63e8a88d7af05e2e9e49f2ca294 /Lib/token.py | |
parent | c8c6aa201f03393ada787a1bde88cd2092d2361c (diff) | |
download | cpython-6e025bcde84ec358734a116cefcc4acc357ee0b1.zip cpython-6e025bcde84ec358734a116cefcc4acc357ee0b1.tar.gz cpython-6e025bcde84ec358734a116cefcc4acc357ee0b1.tar.bz2 |
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 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() |