Add an __all__ to html.entities.

This commit is contained in:
Ezio Melotti 2014-08-02 15:15:02 +03:00
parent 73a4359eb0
commit 11bec7a1b8
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
"""HTML character entity references."""
__all__ = ['html5', 'name2codepoint', 'codepoint2name', 'entitydefs']
# maps the HTML entity name to the Unicode codepoint
name2codepoint = {
'AElig': 0x00c6, # latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1

View File

@ -121,6 +121,8 @@ Core and Builtins
Library
-------
- Add an __all__ to html.entities.
- Issue #15114: the strict mode and argument of HTMLParser, HTMLParser.error,
and the HTMLParserError exception have been removed.