how to define a static field of a given class

Maric Michaud maric at aristote.info
Fri Jun 2 06:19:09 EDT 2006


Le Vendredi 02 Juin 2006 11:47, bruno at modulix a écrit :
> FWIW, it's probably one of the most useless construct in Python IMHO.
> classmethod are really much more useful to me.
+1

I do prefer classmethod, both for the name and behavior (everything should be 
intended for polymorphism, after all, classes are just instances of type).

-- 
_____________

Maric Michaud
_____________

Aristote - www.aristote.info
3 place des tapis
69004 Lyon
Tel: +33 426 880 097



More information about the Python-list mailing list