summaryrefslogtreecommitdiff
path: root/Lib/xmllib.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/xmllib.py')
-rw-r--r--Lib/xmllib.py4
1 files changed, 4 insertions, 0 deletions
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'