summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-01-29 14:38:47 (GMT)
committerGeorg Brandl <georg@python.org>2012-01-29 14:38:47 (GMT)
commitc875d2032bf363da5e9e50928330f5ee2aa2fda2 (patch)
tree57fdd94791fa04c5d44e3cbf14b904fce7c75051 /Doc
parent3cd4607176d293d1611c9b2b79575b789df547fd (diff)
downloadcpython-c875d2032bf363da5e9e50928330f5ee2aa2fda2.zip
cpython-c875d2032bf363da5e9e50928330f5ee2aa2fda2.tar.gz
cpython-c875d2032bf363da5e9e50928330f5ee2aa2fda2.tar.bz2
Fix #13900: resolve self-referential description of a parameter.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/email.parser.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/email.parser.rst b/Doc/library/email.parser.rst
index 77a0b69..384c5c9 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)