Skip to content

Remove deferred typing import in annotationlib - #132034

Merged
JelleZijlstra merged 1 commit into
python:mainfrom
AA-Turner:annotationlib-Union
Apr 3, 2025
Merged

Remove deferred typing import in annotationlib#132034
JelleZijlstra merged 1 commit into
python:mainfrom
AA-Turner:annotationlib-Union

Conversation

@AA-Turner

Copy link
Copy Markdown
Member

Since the recent merge of types.UnionType and typing.Union, this logic is no longer required, and the module already imports types.

A

Comment thread Lib/annotationlib.py
@JelleZijlstra
JelleZijlstra merged commit b3e3cc0 into python:main Apr 3, 2025
@AA-Turner
AA-Turner deleted the annotationlib-Union branch April 3, 2025 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants