doctemplate: apply T Heller's fix emacs syntax colouring patch
authorrgbecker
Wed, 13 Sep 2006 09:00:17 +0000
changeset 2688 f9c4d1488516
parent 2687 9557dac48e77
child 2689 3c94c75a46c1
doctemplate: apply T Heller's fix emacs syntax colouring patch
reportlab/platypus/doctemplate.py
--- a/reportlab/platypus/doctemplate.py	Thu Sep 07 14:57:53 2006 +0000
+++ b/reportlab/platypus/doctemplate.py	Wed Sep 13 09:00:17 2006 +0000
@@ -224,11 +224,11 @@
         pass
 
     def checkPageSize(self,canv,doc):
-        '''This gets called by the template framework
+        """This gets called by the template framework
         If canv size != template size then the canv size is set to
         the template size or if that's not available to the
         doc size.
-        '''
+        """
         #### NEVER EVER EVER COMPARE FLOATS FOR EQUALITY
         #RGB converting pagesizes to ints means we are accurate to one point
         #RGB I suggest we should be aiming a little better
@@ -405,8 +405,8 @@
         self.beforeDocument()
 
     def handle_pageBegin(self):
-        '''Perform actions required at beginning of page.
-        shouldn't normally be called directly'''
+        """Perform actions required at beginning of page.
+        shouldn't normally be called directly"""
         self.page += 1
         if self._debug: logger.debug("beginning page %d" % self.page)
         self.pageTemplate.beforeDrawPage(self.canv,self)
@@ -760,7 +760,7 @@
         return allHappy
 
     def notify(self, kind, stuff):
-        """"Forward to any listeners"""
+        """Forward to any listeners"""
         for l in self._indexingFlowables:
             l.notify(kind, stuff)