Correctly handle empty tuple index when unpacked (#21545)
Fixes https://github.com/python/mypy/issues/18390 Closes https://github.com/python/mypy/pull/18395 This is a more targeted fix than the original PR. Note we don't need to worry about other places with `flatten_nested_tuples()`, since the issue is only specific to (early) `UnboundType`.
I
Ivan Levkivskyi committed
668733de95aa08fd5dbaa2760edbd0cffe859001
Parent: 965dd31
Committed by GitHub <noreply@github.com>
on 5/27/2026, 12:00:44 AM