diff options
author | Miss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-10-02 20:43:44 (GMT) |
---|---|---|
committer | Ćukasz Langa <lukasz@langa.pl> | 2020-10-04 15:33:21 (GMT) |
commit | 87e94e151c8dc656087f40d88f07446f4ecfd2e6 (patch) | |
tree | cf6705f0a0599704a9aa1cfad1e5c18b016806d0 /Lib | |
parent | f093007d4cf59fca19cb779c798752f7fbf837f8 (diff) | |
download | cpython-87e94e151c8dc656087f40d88f07446f4ecfd2e6.zip cpython-87e94e151c8dc656087f40d88f07446f4ecfd2e6.tar.gz cpython-87e94e151c8dc656087f40d88f07446f4ecfd2e6.tar.bz2 |
Typo fix - "mesasge" should be "message" (GH-22498)
* Correct at 2 places in email module
(cherry picked from commit 9cd01ece78e63bf98a1d25f70d5a020adf07ca4a)
Co-authored-by: Hansraj Das <raj.das.136@gmail.com>
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/email/message.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/email/message.py b/Lib/email/message.py index 1262602..3701b30 100644 --- a/Lib/email/message.py +++ b/Lib/email/message.py @@ -141,7 +141,7 @@ class Message: header. For backward compatibility reasons, if maxheaderlen is not specified it defaults to 0, so you must override it explicitly if you want a different maxheaderlen. 'policy' is passed to the - Generator instance used to serialize the mesasge; if it is not + Generator instance used to serialize the message; if it is not specified the policy associated with the message instance is used. If the message object contains binary data that is not encoded @@ -958,7 +958,7 @@ class MIMEPart(Message): header. maxheaderlen is retained for backward compatibility with the base Message class, but defaults to None, meaning that the policy value for max_line_length controls the header maximum length. 'policy' is - passed to the Generator instance used to serialize the mesasge; if it + passed to the Generator instance used to serialize the message; if it is not specified the policy associated with the message instance is used. """ |