diff options
Diffstat (limited to 'Demo/xml/roundtrip.py')
-rw-r--r-- | Demo/xml/roundtrip.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ class ContentGenerator(handler.ContentHandler): 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('>') |