src/reportlab/lib/styles.py
branchpy33
changeset 3723 99aa837b6703
parent 3721 0c93dd8ff567
child 3738 6e5e6d64ab2d
--- a/src/reportlab/lib/styles.py	Sun Feb 17 12:13:56 2013 +0000
+++ b/src/reportlab/lib/styles.py	Tue Apr 30 14:28:14 2013 +0100
@@ -62,7 +62,7 @@
 
     def _setKwds(self,**kw):
         #step three - copy keywords if any
-        for (key, value) in list(kw.items()):
+        for key, value in kw.items():
              self.__dict__[key] = value
 
     def __repr__(self):
@@ -73,7 +73,7 @@
         use if you have been hacking the styles.  This is
         used by __init__"""
         if self.parent:
-            for (key, value) in list(self.parent.__dict__.items()):
+            for key, value in self.parent.__dict__.items():
                 if (key not in ['name','parent']):
                     self.__dict__[key] = value