Skip to content

Multiple types for variable-length Tuples #692

@rggjan

Description

@rggjan

After #30 is supported, it would be great if variable-length Tuples would also work with multiple types.

For example, a Tuple with a string and zero or more ints inside could look like this:

Tuple[str, int, ...]

which currently can only be expressed as:

Tuple[Any, ...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: featureDiscussions about new features for Python's type annotations

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions