Kaydet (Commit) e8d2d2d2 authored tarafından Georg Brandl's avatar Georg Brandl

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

üst d7d01cd8
...@@ -27,7 +27,7 @@ defaults are described below. The :mod:`policy` module also provides some ...@@ -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
......
...@@ -51,6 +51,7 @@ Contents of the :mod:`email` package documentation: ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment