mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
rename HTMLParser to html.parser and htmlentitydefs to html.entities;
includes merge of trunk revision 63432
This commit is contained in:
parent
9b020c784c
commit
3c50ea4303
9 changed files with 25 additions and 23 deletions
|
@ -74,7 +74,7 @@ class TestBase:
|
|||
if self.has_iso10646:
|
||||
return
|
||||
|
||||
from htmlentitydefs import codepoint2name
|
||||
from html.entities import codepoint2name
|
||||
|
||||
def xmlcharnamereplace(exc):
|
||||
if not isinstance(exc, UnicodeEncodeError):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue