From: Georg Brandl Date: Sun, 29 Jan 2012 14:38:47 +0000 (+0100) Subject: Fix #13900: resolve self-referential description of a parameter. X-Git-Tag: v3.2.3rc1~110 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c875d2032bf363da5e9e50928330f5ee2aa2fda2;p=python Fix #13900: resolve self-referential description of a parameter. --- diff --git a/Doc/library/email.parser.rst b/Doc/library/email.parser.rst index 77a0b698d1..384c5c9ee0 100644 --- a/Doc/library/email.parser.rst +++ b/Doc/library/email.parser.rst @@ -133,7 +133,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. .. method:: parsestr(text, headersonly=False) @@ -142,9 +144,7 @@ class. equivalent to wrapping *text* in a :class:`~io.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. .. class:: BytesParser(_class=email.message.Message, strict=None)