diff options
author | Georg Brandl <georg@python.org> | 2013-11-24 15:09:26 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-11-24 15:09:26 (GMT) |
commit | ed007d5b1b50c7f9dc27a7e84448e1aea02605fd (patch) | |
tree | ce491d3ec2c23dc527b1ac0196be5342b3cd83ef /Doc/library | |
parent | 163d7f02a1091eb7386ffeb4de6c7aa282254181 (diff) | |
download | cpython-ed007d5b1b50c7f9dc27a7e84448e1aea02605fd.zip cpython-ed007d5b1b50c7f9dc27a7e84448e1aea02605fd.tar.gz cpython-ed007d5b1b50c7f9dc27a7e84448e1aea02605fd.tar.bz2 |
Fix suspicious markup in the docs.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/email.contentmanager.rst | 4 | ||||
-rw-r--r-- | Doc/library/email.message.rst | 2 | ||||
-rw-r--r-- | Doc/library/gettext.rst | 6 | ||||
-rw-r--r-- | Doc/library/unittest.rst | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/Doc/library/email.contentmanager.rst b/Doc/library/email.contentmanager.rst index f3ba794..5162da1 100644 --- a/Doc/library/email.contentmanager.rst +++ b/Doc/library/email.contentmanager.rst @@ -96,7 +96,7 @@ this module. only it when looking for candidate matches. Otherwise consider only the first (default root) part of the ``multipart/related``. - If a part has a :mailheader:``Content-Disposition`` header, only consider + If a part has a :mailheader:`Content-Disposition` header, only consider the part a candidate match if the value of the header is ``inline``. If none of the candidates matches any of the preferences in @@ -134,7 +134,7 @@ this module. Return an iterator over all of the immediate sub-parts of the message, which will be empty for a non-``multipart``. (See also - :meth:``~email.message.walk``.) + :meth:`~email.message.walk`.) .. method:: get_content(*args, content_manager=None, **kw) diff --git a/Doc/library/email.message.rst b/Doc/library/email.message.rst index f278a0a..c0f947f 100644 --- a/Doc/library/email.message.rst +++ b/Doc/library/email.message.rst @@ -35,7 +35,7 @@ Here are the methods of the :class:`Message` class: If *policy* is specified (it must be an instance of a :mod:`~email.policy` class) use the rules it specifies to udpate and serialize the representation - of the message. If *policy* is not set, use the :class`compat32 + of the message. If *policy* is not set, use the :class:`compat32 <email.policy.Compat32>` policy, which maintains backward compatibility with the Python 3.2 version of the email package. For more information see the :mod:`~email.policy` documentation. diff --git a/Doc/library/gettext.rst b/Doc/library/gettext.rst index 18506ff..982780f 100644 --- a/Doc/library/gettext.rst +++ b/Doc/library/gettext.rst @@ -476,9 +476,9 @@ applications.) :program:`xgettext`, :program:`pygettext`, and similar tools generate :file:`.po` files that are message catalogs. They are structured -:human-readable files that contain every marked string in the source -:code, along with a placeholder for the translated versions of these -:strings. +human-readable files that contain every marked string in the source +code, along with a placeholder for the translated versions of these +strings. Copies of these :file:`.po` files are then handed over to the individual human translators who write translations for every diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index c13f9ca..6310624 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -901,8 +901,8 @@ Test cases | :meth:`assertWarnsRegex(warn, r, fun, *args, **kwds) | ``fun(*args, **kwds)`` raises *warn* | 3.2 | | <TestCase.assertWarnsRegex>` | and the message matches regex *r* | | +---------------------------------------------------------+--------------------------------------+------------+ - | :meth:`assertLogs(logger, level)` | The ``with`` block logs on *logger* | 3.4 | - | <TestCase.assertWarns>` | with minimum *level* | | + | :meth:`assertLogs(logger, level) | The ``with`` block logs on *logger* | 3.4 | + | <TestCase.assertLogs>` | with minimum *level* | | +---------------------------------------------------------+--------------------------------------+------------+ .. method:: assertRaises(exception, callable, *args, **kwds) |