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

2021-12-18 Thread Alex Waygood
Change by Alex Waygood : -- versions: +Python 3.10, Python 3.11, Python 3.9 -Python 2.7, Python 3.7, Python 3.8 ___ Python tracker ___

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

2018-05-10 Thread R. David Murray
R. David Murray added the comment: Ah, I see. Yes, those strings are actually hardcoded in the documentation source instead of being references. You are correct, they should be fixed. Note, however, that Charset is part of the legacy API and isn't actually used if

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

2018-05-10 Thread Francois Labelle
Francois Labelle 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

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

2018-05-10 Thread R. David Murray
R. David Murray added the comment: Can you provide an example of where this occurs in the docs? -- nosy: +r.david.murray ___ Python tracker

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

2018-05-09 Thread Francois Labelle
New submission from Francois Labelle : 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