Message130201
| 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: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 |
|