Closed
Description
Currently the fallback of named tuple types and tuples is Tuple[Any, ...]
but we could use join of items to get a more precise fallback type after #3560 has been merged.
Pointers:
- Update
tuple_type
inmypy.typeanal
. - Update
build_namedtuple_typeinfo
inmypy.semanal
. - Use the fixups to be introduced in Fix crash with forward reference in TypedDict #3560 (the PR has not been merged as of writing this).