| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
bothmethod
'optional @classmethod'
A decorator that allows a method to receive either the class object (if called on the class) or the instance object (if called on the instance) as its first argument.
Code (but not documentation) copied from: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/523033.
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Oct 11 20:50:06 2008 | http://epydoc.sourceforge.net |