Skip to content

conformance: remove incorrect error from Literal test#2264

Open
KotlinIsland wants to merge 1 commit intopython:mainfrom
KotlinIsland:literal
Open

conformance: remove incorrect error from Literal test#2264
KotlinIsland wants to merge 1 commit intopython:mainfrom
KotlinIsland:literal

Conversation

@KotlinIsland
Copy link
Copy Markdown
Contributor

from typing import Literal, Union


a: dict[(int, str)]  # valid
b: Union[(int, str)]  # valid
c: Literal[(1, 2)]  # invalid???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant