A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-December/041093.html below:

[Python-Dev] Relative import

[Python-Dev] Relative importGuido van Rossum guido at python.org
Tue Dec 16 20:16:18 EST 2003
> > > 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

Nah.  But I liked the suggestion seen here earlier of allowing
parenthesis:

from OPAL.Modules.Financial.Reports.COGS import (generate, webOptions,
                                          normalize, row_ops, summary)

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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4