commit | 1e8ce58f5d0db22714d65ff440045a7526ed394d | [log] [tgz] |
---|---|---|
author | Skip Montanaro <skip@pobox.com> | Mon Aug 06 21:07:53 2007 +0000 |
committer | Skip Montanaro <skip@pobox.com> | Mon Aug 06 21:07:53 2007 +0000 |
tree | f705fb923334cffa32492a5bddfcca46ecc27f0a | |
parent | 28a181cbe82bc79df3b881b79b19e12b2e39911b [diff] [blame] |
remove most uses of list(somedict.keys()) in Demo scripts
diff --git a/Demo/xml/roundtrip.py b/Demo/xml/roundtrip.py index b0e131e..8d7d437 100644 --- a/Demo/xml/roundtrip.py +++ b/Demo/xml/roundtrip.py
@@ -22,7 +22,7 @@ def startElement(self, name, attrs): self._out.write('<' + name) - for (name, value) in list(attrs.items()): + for (name, value) in attrs.items(): self._out.write(' %s="%s"' % (name, saxutils.escape(value))) self._out.write('>')