[docs] [issue11418] Method's global scope is module containing function definition, not class.
Terry J. Reedy
report at bugs.python.org
Tue Jan 10 04:12:00 CET 2012
Terry J. Reedy <tjreedy at udel.edu> added the comment:
This paragraph follows a discussion and example of the fact that methods do *not* have to be defined within a class statement.
Any objections to changing
"The global scope associated with a method is the module containing the class definition. (The class itself is never used as a global scope.)"
to
"The global scope associated with a method is the module containing its definition. (A class is never used as a global scope.)"
?
----------
versions: -Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11418>
_______________________________________
More information about the docs
mailing list