mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
#15156: HTMLParser now uses the new "html.entities.html5" dictionary.
This commit is contained in:
parent
a504a7a7d1
commit
46495182d0
4 changed files with 22 additions and 21 deletions
|
@ -11,10 +11,6 @@
|
|||
|
||||
This module defines four dictionaries, :data:`html5`,
|
||||
:data:`name2codepoint`, :data:`codepoint2name`, and :data:`entitydefs`.
|
||||
:data:`entitydefs` is used to provide the :attr:`entitydefs`
|
||||
attribute of the :class:`html.parser.HTMLParser` class. The definition provided
|
||||
here contains all the entities defined by XHTML 1.0 that can be handled using
|
||||
simple textual substitution in the Latin-1 character set (ISO-8859-1).
|
||||
|
||||
|
||||
.. data:: html5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue