Re:Wield Python's super() like a Jedi
by reinhardt on Thursday May 26, 2011 @06:36PM
(#2589682)
is not better written; it allows shapename to be passed positionally which makes cooperative inheritance fragile.
[ Parent
| on HN ]
Re:Wield Python's super() like a Jedi
by Peristarkawan on Thursday May 26, 2011 @06:46PM
(#2589704)
The version that I was rewriting:
def __init__(self, shapename=None, **kwds):
also allows that.