mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
#21300: fix typo
This commit is contained in:
parent
5b74badc8d
commit
a83ade1d60
2 changed files with 4 additions and 4 deletions
|
|
@ -34,7 +34,7 @@ Here are the methods of the :class:`Message` class:
|
||||||
.. class:: Message(policy=compat32)
|
.. class:: Message(policy=compat32)
|
||||||
|
|
||||||
If *policy* is specified (it must be an instance of a :mod:`~email.policy`
|
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
|
class) use the rules it specifies to update 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
|
<email.policy.Compat32>` policy, which maintains backward compatibility with
|
||||||
the Python 3.2 version of the email package. For more information see the
|
the Python 3.2 version of the email package. For more information see the
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ Here is the API for the :class:`FeedParser`:
|
||||||
defaults to the :class:`email.message.Message` class.
|
defaults to the :class:`email.message.Message` class.
|
||||||
|
|
||||||
If *policy* is specified (it must be an instance of a :mod:`~email.policy`
|
If *policy* is specified (it must be an instance of a :mod:`~email.policy`
|
||||||
class) use the rules it specifies to udpate the representation of the
|
class) use the rules it specifies to update the representation of the
|
||||||
message. If *policy* is not set, use the :class:`compat32
|
message. If *policy* is not set, use the :class:`compat32
|
||||||
<email.policy.Compat32>` policy, which maintains backward compatibility with
|
<email.policy.Compat32>` policy, which maintains backward compatibility with
|
||||||
the Python 3.2 version of the email package. For more information see the
|
the Python 3.2 version of the email package. For more information see the
|
||||||
|
|
@ -125,7 +125,7 @@ have the same API as the :class:`Parser` and :class:`BytesParser` classes.
|
||||||
be called without arguments.
|
be called without arguments.
|
||||||
|
|
||||||
If *policy* is specified (it must be an instance of a :mod:`~email.policy`
|
If *policy* is specified (it must be an instance of a :mod:`~email.policy`
|
||||||
class) use the rules it specifies to udpate the representation of the
|
class) use the rules it specifies to update the representation of the
|
||||||
message. If *policy* is not set, use the :class:`compat32
|
message. If *policy* is not set, use the :class:`compat32
|
||||||
<email.policy.Compat32>` policy, which maintains backward compatibility with
|
<email.policy.Compat32>` policy, which maintains backward compatibility with
|
||||||
the Python 3.2 version of the email package. For more information see the
|
the Python 3.2 version of the email package. For more information see the
|
||||||
|
|
@ -172,7 +172,7 @@ have the same API as the :class:`Parser` and :class:`BytesParser` classes.
|
||||||
the :class:`Parser` constructor.
|
the :class:`Parser` constructor.
|
||||||
|
|
||||||
If *policy* is specified (it must be an instance of a :mod:`~email.policy`
|
If *policy* is specified (it must be an instance of a :mod:`~email.policy`
|
||||||
class) use the rules it specifies to udpate the representation of the
|
class) use the rules it specifies to update the representation of the
|
||||||
message. If *policy* is not set, use the :class:`compat32
|
message. If *policy* is not set, use the :class:`compat32
|
||||||
<email.policy.Compat32>` policy, which maintains backward compatibility with
|
<email.policy.Compat32>` policy, which maintains backward compatibility with
|
||||||
the Python 3.2 version of the email package. For more information see the
|
the Python 3.2 version of the email package. For more information see the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue