How to implement it in my class? class Str(str): def __init__(self, *args, **kwargs): pass
Str('smth', kwarg='a') # How to implement in my class class C: def __init__(self): pass class C2(C): def __init__(self, *args, **kwargs): pass C2(kwarg='a')
-- https://mail.python.org/mailman/listinfo/python-list