Commits

Manfred Moitzi committed 4b74078

minor comment edit

  • Participants
  • Parent commits 8297efd

Comments (0)

Files changed (1)

File svgwrite/elementfactory.py

         self.factory = factory
 
     def __call__(self, *args, **kwargs):
+        # inject creator object - inherit _parameter from factory
         kwargs['factory'] = self.factory
-        return self.cls(*args, **kwargs) # create an object of type 'cls'
+        # create an object of type 'cls'
+        return self.cls(*args, **kwargs)
 
 class ElementFactory(object):
     def __getattr__(self, name):