| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| fallback = var_arg_type.partial_fallback | ||
| elif isinstance(var_arg_type, Instance): | ||
| # We have something like Unpack[Tuple[Any, ...]] | ||
| expanded_items = list(var_arg_type.args) |
There was a problem hiding this comment.
Should we preserve this as an Instance? Are we converting a variable-length tuple to a single-item tuple?
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks, I see what you mean (I think)! Does e4d02a4 address this?
I'm surprised no tests failed as a result of this.
Sorry, something went wrong.
|
According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅ |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks for the fix!
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #16533