Y
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
epgui
845 days ago
Thanks! I missed that.
link