Deprecate htmllib and sgmllib for 3.0.

This commit is contained in:
Georg Brandl 2008-06-01 21:19:14 +00:00
parent 681001e11b
commit ac19d85e04
8 changed files with 26 additions and 8 deletions

View file

@ -4,6 +4,11 @@ See the HTML 2.0 specification:
http://www.w3.org/hypertext/WWW/MarkUp/html-spec/html-spec_toc.html
"""
from warnings import warnpy3k
warnpy3k("the htmllib module has been removed in Python 3.0",
stacklevel=2)
del warnpy3k
import sgmllib
from formatter import AS_IS