Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions astroid/brain/brain_typing.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ def __class_getitem__(cls, item): return cls
if PY314_PLUS:
code += textwrap.dedent(
"""
from annotationlib import ForwardRef
class Union:
@classmethod
def __class_getitem__(cls, item): return cls
Expand Down
Loading