[melbourne-pug] Import questions

Brian May brian at microcomaustralia.com.au
Thu Mar 6 02:45:34 CET 2014


On 6 March 2014 12:09, Ben Finney <ben+python at benfinney.id.au> wrote:

>     from .foo import bar
>

Isn't that just a short hand for:

from module.foo import bar

?

See <URL:
> http://docs.python.org/3.0/tutorial/modules.html#intra-package-references
> >.
>

It doesn't seem to mention anything about avoiding circular import loops
here.
-- 
Brian May <brian at microcomaustralia.com.au>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/melbourne-pug/attachments/20140306/bddbc9a5/attachment.html>


More information about the melbourne-pug mailing list