Issue 1598361: Misspelled submodule names for email module. (original) (raw)
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 "", 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).
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.