Message130201
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. |
|
Date |
User |
Action |
Args |
2011-03-06 23:28:21 | methane | set | recipients:
+ methane |
2011-03-06 23:28:21 | methane | set | messageid: <1299454101.64.0.841920247259.issue11418@psf.upfronthosting.co.za> |
2011-03-06 23:28:20 | methane | link | issue11418 messages |
2011-03-06 23:28:20 | methane | create | |
|