diff options
Diffstat (limited to 'Lib/lib-old/HTMLParser.py')
-rw-r--r-- | Lib/lib-old/HTMLParser.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Lib/lib-old/HTMLParser.py b/Lib/lib-old/HTMLParser.py new file mode 100644 index 0000000000..ae42e0f0a5 --- /dev/null +++ b/Lib/lib-old/HTMLParser.py @@ -0,0 +1,8 @@ +from warnings import warnpy3k + +warnpy3k(("The HTMLParser module has been renamed to html.parser" + " in Python 3.0"), stacklevel=2) + +from sys import modules +import html.parser +modules["HTMLParser"] = html.parser |