method-signature

Inheritance best practice : *args, **kwargs or explicitly specifying parameters

Inheritance best practice : *args, **kwargs or explicitly specifying parameters Question: I often find myself overwriting methods of a parent class, and can never decide if I should explicitly list given parameters or just use a blanket *args, **kwargs construct. Is one version better than the other? Is there a best practice? What (dis-)advantages am …

Total answers: 6