From 3c50ea4303ad58785e7f5058cdd353c6d0140ee4 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Sat, 17 May 2008 22:02:32 +0000 Subject: rename HTMLParser to html.parser and htmlentitydefs to html.entities; includes merge of trunk revision 63432 --- Lib/htmllib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/htmllib.py') diff --git a/Lib/htmllib.py b/Lib/htmllib.py index 88e1df5741..a580006828 100644 --- a/Lib/htmllib.py +++ b/Lib/htmllib.py @@ -24,7 +24,7 @@ class HTMLParser(sgmllib.SGMLParser): """ - from htmlentitydefs import entitydefs + from html.entities import entitydefs def __init__(self, formatter, verbose=0): """Creates an instance of the HTMLParser class. -- cgit v1.2.1