[Python-Dev] import a.b as c

Martin v. Löwis martin@v.loewis.de
Wed, 15 Jan 2003 13:22:28 +0100


The docs currently say that import-as doesn't work if the imported
thing is a submodule. Patch #662454 points out that this documentation
is factually incorrect, and suggests to remove it.

Can anybody remember what the rationale was for documenting such a
restriction?

If not, I'll apply this patch.

Regards,
Martin