Add new email.policy document to the toctree and fix markup glitch.

This commit is contained in:
Georg Brandl 2011-04-19 09:21:00 +02:00
parent d7d01cd80c
commit e8d2d2d2b2
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,7 @@ defaults are described below. The :mod:`policy` module also provides some
pre-created :class:`Policy` instances. In addition to a :const:`default` pre-created :class:`Policy` instances. In addition to a :const:`default`
instance, there are instances tailored for certain applications. For example instance, there are instances tailored for certain applications. For example
there is an :const:`SMTP` :class:`Policy` with defaults appropriate for there is an :const:`SMTP` :class:`Policy` with defaults appropriate for
generating output to be sent to an SMTP server. These are listed :ref:`below generating output to be sent to an SMTP server. These are listed `below
<Policy Instances>`. <Policy Instances>`.
In general an application will only need to deal with setting the policy at the In general an application will only need to deal with setting the policy at the

View File

@ -51,6 +51,7 @@ Contents of the :mod:`email` package documentation:
email.message.rst email.message.rst
email.parser.rst email.parser.rst
email.generator.rst email.generator.rst
email.policy.rst
email.mime.rst email.mime.rst
email.header.rst email.header.rst
email.charset.rst email.charset.rst