mypy
306ff8bf
- Fix handling of named tuples in class match pattern (#18663)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
1 year ago
Fix handling of named tuples in class match pattern (#18663) Fixes https://github.com/python/mypy/issues/15299 The fix is straightforward, named tuples should be properly represented as tuples with fallback, not as instances.
References
#18663 - Fix handling of named tuples in class match pattern
Author
ilevkivskyi
Parents
8bdc4af8
Loading