This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Francois Labelle
Recipients Francois Labelle, docs@python
Date 2018-05-09.17:38:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1525887538.2.0.682650639539.issue33449@psf.upfronthosting.co.za>
In-reply-to
Content
When mentioning the constants contained in the module email.charset, the documentation prefixes them with "Charset", for example: Charset.QP, Charset.BASE64, Charset.SHORTEST. This suggests that the constants can be found on the class "Charset" (uppercase first letter) in the module, while they are in fact contained in the the "charset" (lowercase first letter) module itself.

This is probably a left-over from when the module was called email.Charset (in 2.2 I believe). Under Python 2.7, while the documentation uses the same nomenclature, at least the module is also importable under the name email.Charset so it makes more sense.
History
Date User Action Args
2018-05-09 17:38:58Francois Labellesetrecipients: + Francois Labelle, docs@python
2018-05-09 17:38:58Francois Labellesetmessageid: <1525887538.2.0.682650639539.issue33449@psf.upfronthosting.co.za>
2018-05-09 17:38:58Francois Labellelinkissue33449 messages
2018-05-09 17:38:57Francois Labellecreate