PyDocs

Nav

Data Types

UnionType

types

class · Added in 3.10
Represent a union type

E.g. for int | str
Changed in 3.14
  • 3.14: This is now an alias for typing.Union.
0 Examples
No examples for types/UnionType.
See Also
No see-alsos for types/UnionType
0 Notes
No notes for UnionType