mirror of
https://github.com/astral-sh/ruff
synced 2026-01-11 08:34:29 -05:00
When suggesting a return type as a union in Python <=3.9, we now avoid a `TypeError` by correctly suggesting syntax like `Union[int,str,None]` instead of `Union[int | str | None]`.