question: metaclass and C - a new general style
Martin von Loewis
loewis at informatik.hu-berlin.de
Mon Nov 26 17:23:27 CET 2001
Jens Gelhaar <cuiod-tec at web.de> writes:
> I am working serveral years with Python, but I am new to the C
> stuff. I need an hint,
I recommend to use the existing Don Beaudry hook. If you specify a
callable as the first base class, this callable will be called with
the class name, the base classes, and the class dictionary; its return
value is the newly-created class.
In this hook, you can easily invoke __metainit__ yourself.
More information about the Python-list