Deprecate htmllib and sgmllib for 3.0.
diff --git a/Doc/library/htmllib.rst b/Doc/library/htmllib.rst
index aa07fdb..0fa518e 100644
--- a/Doc/library/htmllib.rst
+++ b/Doc/library/htmllib.rst
@@ -1,9 +1,12 @@
-
:mod:`htmllib` --- A parser for HTML documents
==============================================
.. module:: htmllib
:synopsis: A parser for HTML documents.
+ :deprecated:
+
+.. deprecated:: 2.6
+ The :mod:`htmllib` module has been removed in Python 3.0.
.. index::
diff --git a/Doc/library/sgmllib.rst b/Doc/library/sgmllib.rst
index c0ef1a2..93c0cde 100644
--- a/Doc/library/sgmllib.rst
+++ b/Doc/library/sgmllib.rst
@@ -1,10 +1,12 @@
-
:mod:`sgmllib` --- Simple SGML parser
=====================================
.. module:: sgmllib
:synopsis: Only as much of an SGML parser as needed to parse HTML.
-
+ :deprecated:
+
+.. deprecated:: 2.6
+ The :mod:`sgmllib` module has been removed in Python 3.0.
.. index:: single: SGML