commit | ab3b9eb4770081b210ba1f4d878c80f2e5815bf6 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Wed Apr 10 02:04:00 2002 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Wed Apr 10 02:04:00 2002 +0000 |
tree | cf4eceb50350464ff2c601da372f0845c5ecc004 | |
parent | 6e99704fcffec9080e29b0ff42abff404d1e6f61 [diff] [blame] |
Add deprecation warnings for modules as documented
diff --git a/Lib/xmllib.py b/Lib/xmllib.py index e8210e6..445ab13 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'