ruff/crates/ruff_linter/resources/test/fixtures/pyflakes/F821_13.py
2023-09-20 08:38:27 +02:00

8 lines
163 B
Python

"""Test case: ForwardRef."""
from typing import ForwardRef, TypeVar
X = ForwardRef("List[int]")
Y: ForwardRef("List[int]")
Z = TypeVar("X", "List[int]", "int")