Should one always add super().__init__() to the __init__?

Ian Kelly ian.g.kelly at gmail.com
Sun Sep 30 02:10:08 EDT 2012


On Sat, Sep 29, 2012 at 10:55 PM, Ramchandra Apte
<maniandram01 at gmail.com> wrote:
> When I said "super().__init__()" it could have been "super().__init__(size+67)" or whatever arguments are needed for __init__

But if you change the base class, couldn't those arguments change?
Then you would have to change the call whether super is used or not.
I believe this is what Steven is getting at.



More information about the Python-list mailing list