Typo fix - "mesasge" should be "message" (GH-22498)

* Correct at 2 places in email module
This commit is contained in:
Hansraj Das 2020-10-03 01:51:45 +05:30 committed by GitHub
parent 20ce62f009
commit 9cd01ece78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,7 @@ class Message:
header. For backward compatibility reasons, if maxheaderlen is header. For backward compatibility reasons, if maxheaderlen is
not specified it defaults to 0, so you must override it explicitly not specified it defaults to 0, so you must override it explicitly
if you want a different maxheaderlen. 'policy' is passed to the 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. specified the policy associated with the message instance is used.
If the message object contains binary data that is not encoded 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 header. maxheaderlen is retained for backward compatibility with the
base Message class, but defaults to None, meaning that the policy value base Message class, but defaults to None, meaning that the policy value
for max_line_length controls the header maximum length. 'policy' is 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 is not specified the policy associated with the message instance is
used. used.
""" """