commit | 6e025bcde84ec358734a116cefcc4acc357ee0b1 | [log] [tgz] |
---|---|---|
author | Eric S. Raymond <esr@thyrsus.com> | Sat Feb 10 00:22:33 2001 +0000 |
committer | Eric S. Raymond <esr@thyrsus.com> | Sat Feb 10 00:22:33 2001 +0000 |
tree | 0e9d1e6ec181e63e8a88d7af05e2e9e49f2ca294 | |
parent | c8c6aa201f03393ada787a1bde88cd2092d2361c [diff] [blame] |
String method cleanup.
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 @@ 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()