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