mypy seems to think that (*args, **kwargs) could match to any funtion signature?
mypy seems to think that (*args, **kwargs) could match to any funtion signature? Question: How does mypy apply the Liskov substitution principle to *args, **kwargs parameters? I thought the following code should fail a mypy check since some calls to f allowed by the Base class are not allowed by C, but it actually passed. …
Total answers: 2