Trees | Indices | Help |
---|
|
object --+ | InitMixin
A mixin class to help with object initialization.
In some class hierarchies, __init__ is only used for initializing instance variables. In these cases it is advantageous to avoid the need to "chain up" to a parent implementation of a method. Adding this class to your hierarchy will, for each class in the object's class hierarchy, call the class's init() implementation on the object.
Note that the function is called init() without underscrores, and that there is no need to chain up to superclasses' implementations.
Uses call_each_method_reversed() internally.
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Aug 13 06:17:00 2013 | http://epydoc.sourceforge.net |