Suppress the warning about regex here.
authorGuido van Rossum <guido@python.org>
Tue, 4 Sep 2001 15:18:54 +0000 (15:18 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 4 Sep 2001 15:18:54 +0000 (15:18 +0000)
Lib/reconvert.py

index 59708dac9f04a9d7eb9bfef5411a776706b40baf..ab6d04001c5ccf1dca0a60130e3efb0c31d2d7b7 100755 (executable)
@@ -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_*