Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Account for Python 3.9 when defining unions
The union for _Match is not defined as part of a function annotation, so the "annotations" import from __future__ does not take effect and thus results in a syntax error on Python < 3.10. To fix, the Union annotation is used for this one type definition.
- Loading branch information