mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
Add an __all__ to html.entities.
This commit is contained in:
parent
73a4359eb0
commit
11bec7a1b8
2 changed files with 5 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
"""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
|
||||||
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.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue