]> granicus.if.org Git - python/commitdiff
Fix #13900: resolve self-referential description of a parameter.
authorGeorg Brandl <georg@python.org>
Sun, 29 Jan 2012 14:38:47 +0000 (15:38 +0100)
committerGeorg Brandl <georg@python.org>
Sun, 29 Jan 2012 14:38:47 +0000 (15:38 +0100)
Doc/library/email.parser.rst

index 234c0c0231e64d39bcbc2be7c54cd5e0b8b8577c..b2f6b05d0e1208607a0db8c06e0cbdc65c341d68 100644 (file)
@@ -135,7 +135,9 @@ class.
       data or by a blank line.  Following the header block is the body of the
       message (which may contain MIME-encoded subparts).
 
-      Optional *headersonly* is as with the :meth:`parse` method.
+      Optional *headersonly* is a flag specifying whether to stop parsing after
+      reading the headers or not.  The default is ``False``, meaning it parses
+      the entire contents of the file.
 
       .. versionchanged:: 2.2.2
          The *headersonly* flag was added.
@@ -148,9 +150,7 @@ class.
       equivalent to wrapping *text* in a :class:`StringIO` instance first and
       calling :meth:`parse`.
 
-      Optional *headersonly* is a flag specifying whether to stop parsing after
-      reading the headers or not.  The default is ``False``, meaning it parses
-      the entire contents of the file.
+      Optional *headersonly* is as with the :meth:`parse` method.
 
       .. versionchanged:: 2.2.2
          The *headersonly* flag was added.