From 6e025bcde84ec358734a116cefcc4acc357ee0b1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 10 Feb 2001 00:22:33 +0000 Subject: String method cleanup. --- Lib/token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/token.py') 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() -- cgit v1.2.1