in-class-initialization

python __init__ method in inherited class

python __init__ method in inherited class Question: I would like to give a daughter class some extra attributes without having to explicitly call a new method. So is there a way of giving the inherited class an __init__ type method which does not override the __init__ method of the parent class? I have written the …

Total answers: 6