From ab3b9eb4770081b210ba1f4d878c80f2e5815bf6 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Wed, 10 Apr 2002 02:04:00 +0000 Subject: Add deprecation warnings for modules as documented --- Lib/xmllib.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Lib/xmllib.py') diff --git a/Lib/xmllib.py b/Lib/xmllib.py index e8210e6177..445ab13945 100644 --- a/Lib/xmllib.py +++ b/Lib/xmllib.py @@ -5,6 +5,10 @@ import re import string +import warnings +warnings.warn("The xmllib module is obsolete. Use xml.sax instead.", + DeprecationWarning) +del warnings version = '0.3' -- cgit v1.2.1