mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Suppress the warning about regex here.
This commit is contained in:
parent
c20a698932
commit
81fc7783ed
1 changed files with 4 additions and 0 deletions
|
@ -60,6 +60,10 @@ XXX To be done...
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
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…
Add table
Add a link
Reference in a new issue