Add deprecation warnings for modules as documented

This commit is contained in:
Neal Norwitz 2002-04-10 02:04:00 +00:00
parent 6e99704fcf
commit ab3b9eb477
2 changed files with 9 additions and 0 deletions

View file

@ -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'