Hacker News new | ask | show | jobs
by TrickardRixx 851 days ago
The Union Type PEP[0] suggests that the "bitwise or" syntax is equivalent, but cleaner than typing.Union

[0]: https://docs.python.org/3/library/stdtypes.html#types-union

1 comments

Thanks! I missed that.