From: Serhiy Storchaka Date: Sun, 18 Jan 2015 09:33:31 +0000 (+0200) Subject: Issue #23181: More "codepoint" -> "code point". X-Git-Tag: v3.5.0a1~152 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=82e07b92b330ec885968ca98fac5284c45037eac;p=thirdparty%2FPython%2Fcpython.git Issue #23181: More "codepoint" -> "code point". --- 82e07b92b330ec885968ca98fac5284c45037eac diff --cc Lib/html/entities.py index cbf4f7609717,f7deae6eb04e..3e1778b768ce --- a/Lib/html/entities.py +++ b/Lib/html/entities.py @@@ -1,9 -1,6 +1,9 @@@ """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 code point name2codepoint = { 'AElig': 0x00c6, # latin capital letter AE = latin capital ligature AE, U+00C6 ISOlat1 'Aacute': 0x00c1, # latin capital letter A with acute, U+00C1 ISOlat1