Suppress the warning about regex here.

This commit is contained in:
Guido van Rossum 2001-09-04 15:18:54 +00:00
parent c20a698932
commit 81fc7783ed
1 changed files with 4 additions and 0 deletions

View File

@ -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_*