MyPy fails to check TypedDict.update
call with only explicit keyword arguments
#17750
Labels
bug
mypy got something wrong
Bug Report
Calls to
TypedDict.update
don't type-check, even if all the updates are specified using keyword arguments.To Reproduce
Type-check this program:
Expected Behavior
The code should type-check, since all arguments to
TypedDict.update
were passed as keyword arguments, and the types of the arguments are correct.Actual Behavior
Your Environment
mypy test.py
)mypy.ini
(and other config files): none (no special configuration)The text was updated successfully, but these errors were encountered: