mirror of https://github.com/python/cpython.git
Suppress the warning about regex here.
This commit is contained in:
parent
c20a698932
commit
81fc7783ed
|
@ -60,6 +60,10 @@
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
import warnings
|
||||||
|
warnings.filterwarnings("ignore", ".* regex .*", DeprecationWarning, __name__,
|
||||||
|
append=1)
|
||||||
|
|
||||||
import regex
|
import regex
|
||||||
from regex_syntax import * # RE_*
|
from regex_syntax import * # RE_*
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue