re.Pattern is introduced in Python 3.7. To support Python 3.6, fallback to typechecking against SRE_Pattern.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Anyway to test this ?
I don't have a Python 3.6 to test with. I did test locally which caught an issue, so I am at least confident it won't regress anything.