mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
revert creation of the html.entities and html.parser modules
(http://bugs.python.org/issue2882)
This commit is contained in:
parent
1f60af87f5
commit
d995e1150c
15 changed files with 722 additions and 90 deletions
|
|
@ -64,7 +64,7 @@ class TestBase:
|
|||
if self.has_iso10646:
|
||||
return
|
||||
|
||||
from html.entities import codepoint2name
|
||||
from htmlentitydefs import codepoint2name
|
||||
|
||||
def xmlcharnamereplace(exc):
|
||||
if not isinstance(exc, UnicodeEncodeError):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue