From: Guido van Rossum Date: Tue, 4 Sep 2001 15:18:54 +0000 (+0000) Subject: Suppress the warning about regex here. X-Git-Tag: v2.2a3~128 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=81fc7783eda271d0d05cf97fca57244094ff103b;p=thirdparty%2FPython%2Fcpython.git Suppress the warning about regex here. --- diff --git a/Lib/reconvert.py b/Lib/reconvert.py index 59708dac9f04..ab6d04001c5c 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_*