Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a83ade1

Browse files
committed
#21300: fix typo
1 parent 5b74bad commit a83ade1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/library/email.message.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Here are the methods of the :class:`Message` class:
3434
.. class:: Message(policy=compat32)
3535

3636
If *policy* is specified (it must be an instance of a :mod:`~email.policy`
37-
class) use the rules it specifies to udpate and serialize the representation
37+
class) use the rules it specifies to update and serialize the representation
3838
of the message. If *policy* is not set, use the :class:`compat32
3939
<email.policy.Compat32>` policy, which maintains backward compatibility with
4040
the Python 3.2 version of the email package. For more information see the

Doc/library/email.parser.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Here is the API for the :class:`FeedParser`:
6767
defaults to the :class:`email.message.Message` class.
6868

6969
If *policy* is specified (it must be an instance of a :mod:`~email.policy`
70-
class) use the rules it specifies to udpate the representation of the
70+
class) use the rules it specifies to update the representation of the
7171
message. If *policy* is not set, use the :class:`compat32
7272
<email.policy.Compat32>` policy, which maintains backward compatibility with
7373
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.
125125
be called without arguments.
126126

127127
If *policy* is specified (it must be an instance of a :mod:`~email.policy`
128-
class) use the rules it specifies to udpate the representation of the
128+
class) use the rules it specifies to update the representation of the
129129
message. If *policy* is not set, use the :class:`compat32
130130
<email.policy.Compat32>` policy, which maintains backward compatibility with
131131
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.
172172
the :class:`Parser` constructor.
173173

174174
If *policy* is specified (it must be an instance of a :mod:`~email.policy`
175-
class) use the rules it specifies to udpate the representation of the
175+
class) use the rules it specifies to update the representation of the
176176
message. If *policy* is not set, use the :class:`compat32
177177
<email.policy.Compat32>` policy, which maintains backward compatibility with
178178
the Python 3.2 version of the email package. For more information see the

0 commit comments

Comments
 (0)