classmethods, class variables and subclassing
steve at holdenweb.com
Fri Oct 21 09:21:05 CEST 2005
Andrew Jaffe wrote:
>>Andrew Jaffe wrote:
> The problem is that I actually do want to call these methods on the
> class itself, before I've made any instances.
Except you could use staticmethods with an explicit class argument ...
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/
More information about the Python-list