Closed this issue 2 years ago · 1 comments
https://peps.python.org/pep-0604/
since python>=3.10
Allow writing union types as X | Y
刚把 typing 相关的都修改了,应该 py36 ~ 311 都兼容了。