Skip to content

Fix Todo type for starred expressions #2071

@AlexWaygood

Description

@AlexWaygood

(1, *(2, 3), 4) should be inferred as tuple[Literal[1], Literal[2], Literal[3], Literal[4]], but we currently infer it as tuple[Literal[1], @Todo(StarredExpression), Literal[4]].

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions