From 81fc7783eda271d0d05cf97fca57244094ff103b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 4 Sep 2001 15:18:54 +0000 Subject: Suppress the warning about regex here. --- Lib/reconvert.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/reconvert.py b/Lib/reconvert.py index 59708da..ab6d040 100755 --- a/Lib/reconvert.py +++ b/Lib/reconvert.py @@ -60,6 +60,10 @@ XXX To be done... """ +import warnings +warnings.filterwarnings("ignore", ".* regex .*", DeprecationWarning, __name__, + append=1) + import regex from regex_syntax import * # RE_* -- cgit v0.12