From: Ezio Melotti Date: Sat, 2 Aug 2014 12:15:02 +0000 (+0300) Subject: Add an __all__ to html.entities. X-Git-Tag: v3.5.0a1~1142 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=11bec7a1b83d0edffbcff29dccbabd660f5a9a7b;p=thirdparty%2FPython%2Fcpython.git Add an __all__ to html.entities. --- diff --git a/Lib/html/entities.py b/Lib/html/entities.py index e891ad659901..cbf4f7609717 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 diff --git a/Misc/NEWS b/Misc/NEWS index 5174f0552a3b..5d1b3310d6b8 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -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.