This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients methane
Date 2011-03-06.23:28:20
SpamBayes Score 0.0019022637
Marked as misclassified No
Message-id <1299454101.64.0.841920247259.issue11418@psf.upfronthosting.co.za>
In-reply-to
Content
http://docs.python.org/py3k/tutorial/classes.html#random-remarks
> Methods may reference global names in the same way as ordinary
> functions. The global scope associated with a method is the module
> containing the class definition. (The class itself is never used
> as a global scope.)

Method's function can be defined outside the module containing class
definition. And then the method's global scope is module containing
method's function definition.
History
Date User Action Args
2011-03-06 23:28:21methanesetrecipients: + methane
2011-03-06 23:28:21methanesetmessageid: <1299454101.64.0.841920247259.issue11418@psf.upfronthosting.co.za>
2011-03-06 23:28:20methanelinkissue11418 messages
2011-03-06 23:28:20methanecreate