commit | 11bec7a1b83d0edffbcff29dccbabd660f5a9a7b | [log] [tgz] |
---|---|---|
author | Ezio Melotti <ezio.melotti@gmail.com> | Sat Aug 02 15:15:02 2014 +0300 |
committer | Ezio Melotti <ezio.melotti@gmail.com> | Sat Aug 02 15:15:02 2014 +0300 |
tree | 9597ee629ebe6b4128c3bbfeaf54eb104cd7f1f8 | |
parent | 73a4359eb0eb624c588c5d52083ea4944f9787ea [diff] |
Add an __all__ to html.entities.
diff --git a/Lib/html/entities.py b/Lib/html/entities.py index e891ad6..cbf4f76 100644 --- a/Lib/html/entities.py +++ b/Lib/html/entities.py
@@ -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