[ty] Rename UnionType to types.UnionType (#21262)

This commit is contained in:
David Peter
2025-11-03 22:06:56 +01:00
committed by GitHub
parent 1fe958c694
commit d2fe6347fb
4 changed files with 27 additions and 27 deletions

View File

@@ -301,7 +301,7 @@ class B: ...
EitherOr = A | B
# error: [invalid-base] "Invalid class base with type `UnionType`"
# error: [invalid-base] "Invalid class base with type `types.UnionType`"
class Foo(EitherOr): ...
```