[Python-Dev] Draft PEP: "Simplified Package Layout and Partitioning"

Greg Ewing greg.ewing at canterbury.ac.nz
Fri Jul 22 09:37:45 CEST 2011


P.J. Eby wrote:

> "from x import y" means "import x; y = x.y".

It actually means slightly more that that if y is a submodule,
in which case it means "import x.y; y = x.y".

-- 
Greg


More information about the Python-Dev mailing list