12 ms·
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#t
by TrickardRixx 3y 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 https://docs.python.org/3/library/stdtypes.html#types-union
- epgui 3y agoThanks! I missed that.