tools/docco/rl_doc_utils.py
branchpy33
changeset 3723 99aa837b6703
parent 3721 0c93dd8ff567
child 3789 5bc95e1f3dd4
--- a/tools/docco/rl_doc_utils.py	Sun Feb 17 12:13:56 2013 +0000
+++ b/tools/docco/rl_doc_utils.py	Tue Apr 30 14:28:14 2013 +0100
@@ -308,7 +308,7 @@
     def getStyleText(self, style):
         """Converts style to preformatted block of text"""
         lines = []
-        for (key, value) in list(style.__dict__.items()):
+        for key, value in style.__dict__.items():
             lines.append('%s = %s' % (key, value))
         lines.sort()
         return string.join(lines, '\n')
@@ -346,7 +346,7 @@
     def getStyleText(self, style):
         """Converts style to preformatted block of text"""
         lines = []
-        for (key, value) in list(style.__dict__.items()):
+        for key, value in style.__dict__.items():
             if key not in ('name','parent'):
                 lines.append('%s = %s' % (key, value))
         return string.join(lines, '\n')