]>
Commit | Line | Data |
---|---|---|
77f90330 | 1 | # flake8: noqa: F405 |
2 | ||
3 | from re import * # F403 | |
4 | ||
9196cbfe | 5 | from .compat_utils import passthrough_module |
6 | ||
7 | passthrough_module(__name__, 're') | |
8 | del passthrough_module | |
9 | ||
77f90330 | 10 | try: |
11 | Pattern # >= 3.7 | |
12 | except NameError: | |
13 | Pattern = type(compile('')) | |
14 | ||
15 | ||
16 | try: | |
17 | Match # >= 3.7 | |
18 | except NameError: | |
19 | Match = type(compile('').match('')) |