Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH: Make type hinting compatible with Python 3.9
Make type hinting compatible with Python 3.9: use `Union` instead of the pipe operator `|` to support type hints in Python 3.9. The pipe operator was overloaded for writing union types starting Python 3.10: https://peps.python.org/pep-0604/ https://docs.python.org/3.9/library/typing.html https://docs.python.org/3.10/library/typing.html
- Loading branch information