@@ -52,7 +52,7 @@ message objects.
5252
5353.. class :: EmailMessage(policy=default)
5454
55- If *policy * is specified use the rules it specifies to udpate and serialize
55+ If *policy * is specified use the rules it specifies to update and serialize
5656 the representation of the message. If *policy * is not set, use the
5757 :class: `~email.policy.default ` policy, which follows the rules of the email
5858 RFCs except for line endings (instead of the RFC mandated ``\r\n ``, it uses
@@ -63,7 +63,7 @@ message objects.
6363
6464 Return the entire message flattened as a string. When optional
6565 *unixfrom * is true, the envelope header is included in the returned
66- string. *unixfrom * defaults to ``False ``. For backward compabitility
66+ string. *unixfrom * defaults to ``False ``. For backward compatibility
6767 with the base :class: `~email.message.Message ` class *maxheaderlen * is
6868 accepted, but defaults to ``None ``, which means that by default the line
6969 length is controlled by the
@@ -213,7 +213,7 @@ message objects.
213213 del msg['subject']
214214 msg['subject'] = 'Python roolz!'
215215
216- If the :mod: `policy ` defines certain haders to be unique (as the standard
216+ If the :mod: `policy ` defines certain headers to be unique (as the standard
217217 policies do), this method may raise a :exc: `ValueError ` when an attempt
218218 is made to assign a value to such a header when one already exists. This
219219 behavior is intentional for consistency's sake, but do not depend on it
@@ -558,7 +558,7 @@ message objects.
558558 the part a candidate match if the value of the header is ``inline ``.
559559
560560 If none of the candidates matches any of the preferences in
561- *preferneclist *, return ``None ``.
561+ *preferencelist *, return ``None ``.
562562
563563 Notes: (1) For most applications the only *preferencelist * combinations
564564 that really make sense are ``('plain',) ``, ``('html', 'plain') ``, and the
@@ -746,6 +746,6 @@ message objects.
746746
747747.. rubric :: Footnotes
748748
749- .. [1 ] Oringally added in 3.4 as a :term: `provisional module <provisional
749+ .. [1 ] Originally added in 3.4 as a :term: `provisional module <provisional
750750 package> `. Docs for legacy message class moved to
751751 :ref: `compat32_message `.
0 commit comments