]> granicus.if.org Git - python/commitdiff
Make the new docstrings better conform to Guido's style guide.
authorFred Drake <fdrake@acm.org>
Thu, 19 Jul 2001 20:57:23 +0000 (20:57 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 19 Jul 2001 20:57:23 +0000 (20:57 +0000)
Lib/sgmllib.py

index e5860247d8b1a0c5afe2da4ed805aeeecfb6c898..f228e5b2ff8d3fc041fa6b635d2e146abcb15948 100644 (file)
@@ -79,19 +79,27 @@ class SGMLParser:
         self.literal = 0
 
     def setnomoretags(self):
-        """Enter literal mode (CDATA) till EOF.  Intended for derived
-        classes only."""
+        """Enter literal mode (CDATA) till EOF.
+
+        Intended for derived classes only.
+        """
         self.nomoretags = self.literal = 1
 
     def setliteral(self, *args):
-        """Enter literal mode (CDATA).  Intended for derived classes only."""
+        """Enter literal mode (CDATA).
+
+        Intended for derived classes only.
+        """
         self.literal = 1
 
     def feed(self, data):
-        """Feed some data to the parser.  Call this as often as you
-        want, with as little or as much text as you want (may include
-        '\n').  (This just saves the text, all the processing is done
-        by goahead().)"""
+        """Feed some data to the parser.
+
+        Call this as often as you want, with as little or as much text
+        as you want (may include '\n').  (This just saves the text,
+        all the processing is done by goahead().)
+        """
+
         self.rawdata = self.rawdata + data
         self.goahead(0)