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.

classification
Title: Misspelled submodule names for email module.
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, truefox
Priority: normal Keywords:

Created on 2006-11-17 13:48 by truefox, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg30580 - (view) Author: Dmytro O. Redchuk (truefox) Date: 2006-11-17 13:48
There are at http://docs.python.org/lib/module-email.html and below some errors in submodule names:
----------
# taken from
# http://docs.python.org/lib/module-email.message.html :
>>> from email.generator import Generator
----------
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named generator
>>> from email.Generator import Generator
>>> 

The same for email.Message, email.Header and, probably, others (they start with lowercase letters).

msg30581 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-11-17 19:46
This is not a bug, you're looking at the docs for Python 2.5, and there the email submodules are accessible by lower case names too.
In the 2.4 docs there's still the old titlecased name.
History
Date User Action Args
2022-04-11 14:56:21adminsetgithub: 44246
2006-11-17 13:48:22truefoxcreate