Deprecate htmllib and sgmllib for 3.0.
diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py
index b68eb7a..e5fbd32 100644
--- a/Lib/sgmllib.py
+++ b/Lib/sgmllib.py
@@ -9,6 +9,11 @@
 # not supported at all.
 
 
+from warnings import warnpy3k
+warnpy3k("the sgmllib module has been removed in Python 3.0",
+         stacklevel=2)
+del warnpy3k
+
 import markupbase
 import re