Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Give
version2tuple()
a better type annotation
Also, remove superfluous function-level import of `re` (It's already imported at the top of the file). Also, prevent the function from crashing when given a string with non-ASCII Unicode digits.
- Loading branch information