commit | 8efadf5d6613e76dfc5476f58adb9a2135173129 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Fri May 16 15:23:30 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Fri May 16 15:23:30 2008 +0000 |
tree | 93ea7c3914c65801cd3844aa0ea1304676076940 | |
parent | d11ae5d6ecda1d233af651a360c9f9140992f05d [diff] [blame] |
Ran 2to3 over scripts directory.
diff --git a/Tools/scripts/parseentities.py b/Tools/scripts/parseentities.py index cf4e17c..8d93167 100755 --- a/Tools/scripts/parseentities.py +++ b/Tools/scripts/parseentities.py
@@ -35,9 +35,8 @@ def writefile(f,defs): f.write("entitydefs = {\n") - items = defs.items() - items.sort() - for name,(charcode,comment) in items: + items = sorted(defs.items()) + for name, (charcode,comment) in items: if charcode[:2] == '&#': code = int(charcode[2:-1]) if code < 256: