[Python-Dev] import a.b as c (original) (raw)

Guido van Rossum guido@python.org
Wed, 15 Jan 2003 07:46:47 -0500


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?

Not me.

If not, I'll apply this patch.

+1

--Guido van Rossum (home page: http://www.python.org/~guido/)