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)
commit1d8e6fd45e9ac970501fd1e05f606c554e5d86f0 (patch)
tree6cc352f993c0bfb67974c7ec0d5fd5e39cb1d03d /Doc
parentcaa0f61463658fee2c70762ee03dcc5e1a56ee1f (diff)
downloadcpython-1d8e6fd45e9ac970501fd1e05f606c554e5d86f0.zip
cpython-1d8e6fd45e9ac970501fd1e05f606c554e5d86f0.tar.gz
cpython-1d8e6fd45e9ac970501fd1e05f606c554e5d86f0.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 234c0c0..b2f6b05 100644
--- a/Doc/library/email.parser.rst
+++ b/Doc/library/email.parser.rst
@@ -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.