[Python-checkins] cpython (2.7): Fix markup in email.parser docs.

ezio.melotti python-checkins at python.org
Fri Sep 13 22:01:28 CEST 2013


http://hg.python.org/cpython/rev/eaae175f1ff7
changeset:   85683:eaae175f1ff7
branch:      2.7
user:        Ezio Melotti <ezio.melotti at gmail.com>
date:        Fri Sep 13 22:55:08 2013 +0300
summary:
  Fix markup in email.parser docs.

files:
  Doc/library/email.parser.rst |  4 ++--
  1 files changed, 2 insertions(+), 2 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
@@ -168,7 +168,7 @@
 
    Return a message object structure from a string.  This is exactly equivalent to
    ``Parser().parsestr(s)``.  Optional *_class* and *strict* are interpreted as
-   with the :class:``~email.parser.Parser` class constructor.
+   with the :class:`~email.parser.Parser` class constructor.
 
    .. versionchanged:: 2.2.2
       The *strict* flag was added.
@@ -178,7 +178,7 @@
 
    Return a message object structure tree from an open file object.  This is
    exactly equivalent to ``Parser().parse(fp)``.  Optional *_class* and *strict*
-   are interpreted as with the :class:``~email.parser.Parser` class constructor.
+   are interpreted as with the :class:`~email.parser.Parser` class constructor.
 
    .. versionchanged:: 2.2.2
       The *strict* flag was added.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list