ClassCreateSignal

Signal raised after class creation. The sender is the superclass (in case of multiple superclasses, the first superclass). The arguments are (new_class_name, bases, new_attrs, post_funcs, early_funcs). new_attrs is a dictionary and may be modified (but new_class_name and bases are immutable). post_funcs is an initially-empty list that can have callbacks appended to it.

Note: at the time this event is called, the new class has not yet been created. The functions in post_funcs will be called after the class is created, with the single arguments of (new_class). Also, early_funcs will be called at the soonest possible time after class creation (post_funcs is called after the class's __classinit__).


Methods

f __init__(...) ...

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

See the source for more information.