Commit 11bec7a1 authored by Ezio Melotti's avatar Ezio Melotti

Add an __all__ to html.entities.

parent 73a4359e
"""HTML character entity references.""" """HTML character entity references."""
__all__ = ['html5', 'name2codepoint', 'codepoint2name', 'entitydefs']
# maps the HTML entity name to the Unicode codepoint # maps the HTML entity name to the Unicode codepoint
name2codepoint = { name2codepoint = {
'AElig': 0x00c6, # latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1 'AElig': 0x00c6, # latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1
......
...@@ -121,6 +121,8 @@ Core and Builtins ...@@ -121,6 +121,8 @@ Core and Builtins
Library Library
------- -------
- Add an __all__ to html.entities.
- Issue #15114: the strict mode and argument of HTMLParser, HTMLParser.error, - Issue #15114: the strict mode and argument of HTMLParser, HTMLParser.error,
and the HTMLParserError exception have been removed. and the HTMLParserError exception have been removed.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment