Comment Comment by painful This is an idiotic article because a static analyzer like mypy will find this in a hurry:> error: Invalid type: try using Literal[42] instead?If you don't use the analyzer, the problem is you. parent painful 7 years ago
> error: Invalid type: try using Literal[42] instead?
If you don't use the analyzer, the problem is you.