diff options
author | Georg Brandl <georg@python.org> | 2008-06-01 21:19:14 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-06-01 21:19:14 +0000 |
commit | ac19d85e04855642a856473b91f3d621e844ad52 (patch) | |
tree | 63a44aba6093a578462f2ec5f5c4b1d7ecf767bb /Lib/sgmllib.py | |
parent | 681001e11ba164c67a42251bd2bcee2b260188c3 (diff) | |
download | cpython-git-ac19d85e04855642a856473b91f3d621e844ad52.tar.gz |
Deprecate htmllib and sgmllib for 3.0.
Diffstat (limited to 'Lib/sgmllib.py')
-rw-r--r-- | Lib/sgmllib.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/sgmllib.py b/Lib/sgmllib.py index b68eb7a62a..e5fbd32fcc 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 |