[Python-Dev] Relative import
Phillip J. Eby
pje at telecommunity.com
Tue Dec 16 20:19:51 EST 2003
At 02:09 PM 12/17/03 +1300, Greg Ewing wrote:
> > > from OPAL.Modules.Financial.Reports.COGS import generate, webOptions, \
> > > normalize, row_ops, \
> > > summary
> > But I'm -0 on this change; I fear that someone accidentally adding a
> > trailing comma ... will be very puzzled
>How about a "suite" of things to import?
> from OPAL.Modules.Financial.Reports.COGS import:
> generate, webOptions, normalize
> row_ops, summary
First impression: cool!
Second impression: "suites" contain statements, not a list.
Third impression: why no comma after 'normalize'?
More information about the Python-Dev