[Tutor] Metaclass confusion...
Modulok
modulok at gmail.com
Wed Apr 20 13:08:55 CEST 2011
Peter,
>> ... the class, i. e. the instance of the metaclass with all its attributes
>> has already been created by the type.__new__() method. If you move the
>> manipulation of the members dict into a custom __new__() method you get
>> the desired behaviour...
Thank you! You've solved my problem and broadened my understanding :)
Excellent examples as well. Love the class name too.
-Modulok-
More information about the Tutor
mailing list