> are metaclasses like templates in C++ > thanks for your explanations
No, there is no direct concept of metaclasses in C++. You need to ook to languages like Lisp and Smaltalk for those. The nearest you get to meta-classes in C++ is static members and methods. But they don't allow you to alter things like method lookup algorithms etc. Very few, if any, statically typed languages support meta programming in a full sense. Alan G. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor