[Python-Dev] Using and binding relative names (was Re: PEP for Better Control of Nested Lexical Scopes) (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Feb 23 05:07:33 CET 2006


Steven Bethard wrote:

Phillip J. Eby wrote:

Actually, "import .foo" is an abbreviation for "import myparent.foo", not "import myparent.myself.foo".

Oops, sorry, you're right.

s/myself/myparent/g

-- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | Carpe post meridiam! | Christchurch, New Zealand | (I'm not a morning person.) | greg.ewing at canterbury.ac.nz +--------------------------------------+



More information about the Python-Dev mailing list