Yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-htmlentitydefs.html
Jump to navigation
Jump to search
12.3 htmlentitydefs -- Definitions of HTML general entities
This module defines a single dictionary, entitydefs, which is used by the htmllib module to provide the entitydefs member of the HTMLParser class. The definition provided here contains all the entities defined by HTML 2.0 that can be handled using simple textual substitution in the Latin-1 character set (ISO-8859-1).
- entitydefs
- A dictionary mapping HTML 2.0 entity definitions to their replacement text in ISO Latin-1.
Send comments on this document to python-docs@python.org.