question: metaclass and C - a new general style

Rainer Deyke root at rainerdeyke.com
Mon Nov 26 12:29:34 EST 2001


"Jens Gelhaar" <cuiod-tec at web.de> wrote in message
news:3c02343d at netnews.web.de...
>    When I compile a module with an class in it, I would like to call a
special
> function: __metainit__ after the class has been compiled.


Don't do that.  Names in the form '__<something>__' are reserved, and should
not be used for your own "special" functions.


--
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games           -           http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor





More information about the Python-list mailing list