Metaclass uses?

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Mon Dec 18 06:34:30 EST 2006


Nathan Harmston a écrit :
(snip)
> Also is there anymore interesting OO stuff that Python has apart from Java.

Quite a lot. Everything (well, except statements and expressions...) in 
Python is an object, including classes, modules and functions, and 
Python objects are really 'dynamic', ie you can modify them at runtime - 
and when I say 'modify', I mean things like adding/replacing/removing 
attributes, including methods and class (which are attributes too...).



More information about the Python-list mailing list