Consider: ``` class C(dict): pass x = C(a=1, b=2) ``` Python accepts this, but mypy complains: ``` /Users/guido/mypy_tests/mypy_dict_subclass.py:3: error: No overload variant of "C" matches argument types [builtins.int, builtins.int] ``` But `dict(a=1, b=2)` works.
Consider:
Python accepts this, but mypy complains:
But
dict(a=1, b=2)works.