3 ms·
> which by the way, is super awkward syntax, repeating both self and BaseClass In Python 3, you can write just `super()`, even though I personally prefer the v
by ch0wn 14y ago
> which by the way, is super awkward syntax, repeating both self and BaseClass
In Python 3, you can write just `super()`, even though I personally prefer the verbose (and thus explicit) way.
In single-inheritance cases, there's actually no benefit of using super(), so using `BaseClass.__init__(self, args, *kwargs)` is even more explicit.
- ch0wn 14y agoI screwed up the markup there, it's supposed to be BaseClass.__init__(self, *args, **kwargs)