@@ -58,17 +58,17 @@ Import this class from the :mod:`email.charset` module.
5858 .. attribute :: header_encoding
5959
6060 If the character set must be encoded before it can be used in an email
61- header, this attribute will be set to ``Charset .QP `` (for
62- quoted-printable), ``Charset .BASE64 `` (for base64 encoding), or
63- ``Charset .SHORTEST `` for the shortest of QP or BASE64 encoding. Otherwise,
61+ header, this attribute will be set to ``charset .QP `` (for
62+ quoted-printable), ``charset .BASE64 `` (for base64 encoding), or
63+ ``charset .SHORTEST `` for the shortest of QP or BASE64 encoding. Otherwise,
6464 it will be ``None ``.
6565
6666
6767 .. attribute :: body_encoding
6868
6969 Same as *header_encoding *, but describes the encoding for the mail
7070 message's body, which indeed may be different than the header encoding.
71- ``Charset .SHORTEST `` is not allowed for *body_encoding *.
71+ ``charset .SHORTEST `` is not allowed for *body_encoding *.
7272
7373
7474 .. attribute :: output_charset
@@ -175,9 +175,9 @@ new entries to the global character set, alias, and codec registries:
175175 *charset * is the input character set, and must be the canonical name of a
176176 character set.
177177
178- Optional *header_enc * and *body_enc * is either ``Charset .QP `` for
179- quoted-printable, ``Charset .BASE64 `` for base64 encoding,
180- ``Charset .SHORTEST `` for the shortest of quoted-printable or base64 encoding,
178+ Optional *header_enc * and *body_enc * is either ``charset .QP `` for
179+ quoted-printable, ``charset .BASE64 `` for base64 encoding,
180+ ``charset .SHORTEST `` for the shortest of quoted-printable or base64 encoding,
181181 or ``None `` for no encoding. ``SHORTEST `` is only valid for
182182 *header_enc *. The default is ``None `` for no encoding.
183183
0 commit comments