[docs] [issue24129] Incorrect (misleading) statement in the execution model documentation
levkivskyi
report at bugs.python.org
Fri May 15 10:44:09 CEST 2015
levkivskyi added the comment:
Since no one proposed alternative ideas, I am submitting my proposal as a patch, with the following wording:
"""
A class definition is an executable statement that may use and define names. Free variables follow the normal rules for name resolution, while unbound local variables are looked up in the global namespace. The namespace of the class definition becomes the attribute dictionary of the class. Names defined at the class scope are not visible in methods
"""
----------
keywords: +patch
Added file: http://bugs.python.org/file39383/classdoc.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24129>
_______________________________________
More information about the docs
mailing list