[Python-checkins] cpython (3.2): Fix #13900: resolve self-referential description of a parameter.

georg.brandl python-checkins at python.org
Sun Jan 29 15:38:57 CET 2012


http://hg.python.org/cpython/rev/0d5667171356
changeset: 74676:0d5667171356
branch: 3.2
parent: 74673:4084b2c65dca
user: Georg Brandl <georg at python.org>
date: Sun Jan 29 15:38:47 2012 +0100
summary:
 Fix #13900: resolve self-referential description of a parameter.
files:
 Doc/library/email.parser.rst | 8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Doc/library/email.parser.rst b/Doc/library/email.parser.rst
--- a/Doc/library/email.parser.rst
+++ b/Doc/library/email.parser.rst
@@ -133,7 +133,9 @@
 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 @@
 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)
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /