[docs] Found an ambiguity in the documentation

pawel_s1 pawel_s1 at o2.pl
Fri May 20 15:28:51 CEST 2011


Hello,
In the programming FAQ: http://docs.python.org/faq/programming.html
by the question “How can I have modules that mutually import each other?” there is a statement:
“Guido van Rossum recommends avoiding all uses of from <module> import ..., and placing all code inside functions.”
So, does that mean “avoiding all uses of (…) and avoiding placing all code inside functions”, or “avoiding all uses of (…) and instead placing all code inside functions”?
Someone could tell me and maybe fix this fragment of FAQ?
Thanks for reading,
Pozdrawiam,
Paweł


More information about the docs mailing list