mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
String method cleanup.
This commit is contained in:
parent
c8c6aa201f
commit
6e025bcde8
5 changed files with 7 additions and 13 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue