Using metaclassed to dynamically generate a class based on a parameter to the objects init function.
Maric Michaud
maric at aristote.info
Fri Jun 23 11:15:12 EDT 2006
Le Vendredi 23 Juin 2006 17:09, Maric Michaud a écrit :
> Hmmm, rigourously speaking, metaclasses in OOP are classes whose instances
> are class.
Ooops, sorry i didn't notice you were calling type's __new__ (and not
object'sone).
--
_____________
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