summaryrefslogtreecommitdiff
path: root/Lib/xmllib.py
diff options
context:
space:
mode:
authorPhilip Jenvey <pjenvey@underboss.org>2009-05-08 02:47:02 +0000
committerPhilip Jenvey <pjenvey@underboss.org>2009-05-08 02:47:02 +0000
commit54cea3b1a5f0f5673fb08addc509d130b369c629 (patch)
treef3e1804acef63f0153b54432887d76c07b1b3897 /Lib/xmllib.py
parent476a64213ff7e4c3524303884858b9a43a408185 (diff)
downloadcpython-git-54cea3b1a5f0f5673fb08addc509d130b369c629.tar.gz
Merged revisions 72458 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72458 | philip.jenvey | 2009-05-07 19:28:39 -0700 (Thu, 07 May 2009) | 2 lines #4351: more appropriate DeprecationWarning stacklevels ........
Diffstat (limited to 'Lib/xmllib.py')
-rw-r--r--Lib/xmllib.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/xmllib.py b/Lib/xmllib.py
index 2a189cdd8f..96ee8411e7 100644
--- a/Lib/xmllib.py
+++ b/Lib/xmllib.py
@@ -6,7 +6,8 @@ import re
import string
import warnings
-warnings.warn("The xmllib module is obsolete. Use xml.sax instead.", DeprecationWarning)
+warnings.warn("The xmllib module is obsolete. Use xml.sax instead.",
+ DeprecationWarning, 2)
del warnings
version = '0.3'