mypy
854a9f8f - Allow None vs TypeVar overlap for overloads (#15846)

Commit
2 years ago
Allow None vs TypeVar overlap for overloads (#15846) Fixes #8881 This is technically unsafe, and I remember we explicitly discussed this a while ago, but related use cases turn out to be more common than I expected (judging by how popular the issue is). Also the fix is really simple. --------- Co-authored-by: Ivan Levkivskyi <ilevkivskyi@hopper.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Author
Parents
Loading