4 ms·
def __init__(self, shapename, **kwds): is not better written; it allows shapename to be passed positionally which makes cooperative inheritance fragile.
by reinhardt 15y ago
def __init__(self, shapename, **kwds):
is not better written; it allows shapename to be passed positionally which makes cooperative inheritance fragile.
- Peristarkawan 15y agoThe version that I was rewriting: def __init__(self, shapename=None, **kwds): also allows that.