[docs] Incorrect (misleading) statement in the execution model documentation (issue 24129)
ericsnowcurrently at gmail.com
ericsnowcurrently at gmail.com
Fri Jun 19 21:57:02 CEST 2015
http://bugs.python.org/review/24129/diff/14851/Doc/reference/executionmodel.rst
File Doc/reference/executionmodel.rst (right):
http://bugs.python.org/review/24129/diff/14851/Doc/reference/executionmodel.rst#newcode148
Doc/reference/executionmodel.rst:148: Free variables follow the normal
rules for name resolution,
It may be more clear to say:
These references follow the normal rules for name resolution with one
exception. Unbound local variables are looked up in the global
namespace. ...
http://bugs.python.org/review/24129/diff/14851/Doc/reference/executionmodel.rst#newcode149
Doc/reference/executionmodel.rst:149: while unbound local variables are
looked up in the global namespace.
If we stick with the current working, I'd suggest starting a new
sentence at "while".
http://bugs.python.org/review/24129/
More information about the docs
mailing list