From 11bec7a1b83d0edffbcff29dccbabd660f5a9a7b Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sat, 2 Aug 2014 15:15:02 +0300 Subject: Add an __all__ to html.entities. --- Lib/html/entities.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Lib/html/entities.py') diff --git a/Lib/html/entities.py b/Lib/html/entities.py index e891ad65990..cbf4f760971 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 -- cgit v1.2.3