summaryrefslogtreecommitdiffstats
path: root/Lib/html
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-01-18 09:33:31 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-01-18 09:33:31 (GMT)
commit82e07b92b330ec885968ca98fac5284c45037eac (patch)
treef8cf075bd42432e50b25979f28bc83a606bbf828 /Lib/html
parentacdb7c158a53d67a7c1e309023248a489cd18295 (diff)
parentd3faf43f9ba7da0ae504c9186b10d0fa3a8eb300 (diff)
downloadcpython-82e07b92b330ec885968ca98fac5284c45037eac.zip
cpython-82e07b92b330ec885968ca98fac5284c45037eac.tar.gz
cpython-82e07b92b330ec885968ca98fac5284c45037eac.tar.bz2
Issue #23181: More "codepoint" -> "code point".
Diffstat (limited to 'Lib/html')
-rw-r--r--Lib/html/entities.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/html/entities.py b/Lib/html/entities.py
index cbf4f76..3e1778b 100644
--- a/Lib/html/entities.py
+++ b/Lib/html/entities.py
@@ -3,7 +3,7 @@
__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
@@ -2495,7 +2495,7 @@ html5 = {
'zwnj;': '\u200c',
}
-# maps the Unicode codepoint to the HTML entity name
+# maps the Unicode code point to the HTML entity name
codepoint2name = {}
# maps the HTML entity name to the character