[docs] [issue33449] Documentation for email.charset confusing about the location of constants

Francois Labelle report at bugs.python.org
Thu May 10 16:20:07 EDT 2018

Francois Labelle <quantum.omega at gmail.com> added the comment:

Original poster here (OpenID just wouldn't work anymore).

For instance: https://docs.python.org/2/library/email.charset.html

Under "class email.charset.Charset"

Under "header_encoding"

"If the character set must be encoded before it can be used in an email header, this attribute will be set to Charset.QP (for quoted-printable), Charset.BASE64 (for base64 encoding), or Charset.SHORTEST for the shortest of QP or BASE64 encoding. Otherwise, it will be None."

nosy: +quantum.omega at gmail.com -Francois Labelle

Python tracker <report at bugs.python.org>

More information about the docs mailing list