[docs] Found an ambiguity in the documentation
sandro.tosi at gmail.com
Tue May 31 23:25:31 CEST 2011
On Fri, May 20, 2011 at 15:28, pawel_s1 <pawel_s1 at o2.pl> wrote:
> 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”?
the next phrase on that paragraph should explain: "Initializations of
global variables and class variables should use constants or built-in
functions only" so "Guido (...) recommends avoiding (...), and
<recommends> placing (....)".
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