Skip to content

Allowed bare typing.Final in an annotation expression#1915

Merged
JelleZijlstra merged 1 commit intopython:mainfrom
superbobry:patch-1
Jan 30, 2025
Merged

Allowed bare typing.Final in an annotation expression#1915
JelleZijlstra merged 1 commit intopython:mainfrom
superbobry:patch-1

Conversation

@superbobry
Copy link
Contributor

The current grammar only allows typing.Final[...], but not typing.Final.

The current grammar only allows `typing.Final[...]`, but not `typing.Final`.
@erictraut
Copy link
Collaborator

Yes, good catch.

@JelleZijlstra JelleZijlstra merged commit b76a853 into python:main Jan 30, 2025
4 checks passed
@superbobry superbobry deleted the patch-1 branch January 31, 2025 09:09
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.

4 participants