[docs] Py3k doc suggestion: Circular imports
Sandro Tosi
sandro.tosi at gmail.com
Sat Mar 31 22:21:37 CEST 2012
Hello Kane,
On Mon, Mar 19, 2012 at 20:30, Kane York <kanepyork at gmail.com> wrote:
> I'd like you to, somewhere in the docs, talk about circular imports.
>
> Specifically, why importing the modules circularly works while from imports
> do not (the class isn't defined yet with the from imports).
> It can get quite annoying to try to figure this out on your own :S
I think you're probably searching:
http://docs.python.org/faq/programming.html#what-are-the-best-practices-for-using-import-in-a-module
Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
More information about the docs
mailing list