[compat] Split into sub-modules (#2173)

Authored by: fstirlitz, pukkandan
This commit is contained in:
felix
2022-04-18 04:26:43 +05:30
committed by pukkandan
parent 19a0394044
commit 77f9033095
11 changed files with 274 additions and 318 deletions
+14
View File
@@ -0,0 +1,14 @@
# flake8: noqa: F405
from re import * # F403
try:
Pattern # >= 3.7
except NameError:
Pattern = type(compile(''))
try:
Match # >= 3.7
except NameError:
Match = type(compile('').match(''))