]> granicus.if.org Git - python/commitdiff
Fix markup in email.parser docs.
authorEzio Melotti <ezio.melotti@gmail.com>
Fri, 13 Sep 2013 19:55:08 +0000 (22:55 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Fri, 13 Sep 2013 19:55:08 +0000 (22:55 +0300)
Doc/library/email.parser.rst

index 6cc0494cde55c34b8a80d29864d90bf2d0400393..0f99a2fb040e113c7549e134490ae86133437d81 100644 (file)
@@ -168,7 +168,7 @@ in the top-level :mod:`email` package namespace.
 
    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 @@ in the top-level :mod:`email` package namespace.
 
    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.