[Python-checkins] Add source for character mappings (#92014)
ezio-melotti
webhook-mailer at python.org
Fri May 6 06:28:37 EDT 2022
https://github.com/python/cpython/commit/d707d073be5ecacb7ad341a1c1716f4998907d6b
commit: d707d073be5ecacb7ad341a1c1716f4998907d6b
branch: main
author: slateny <46876382+slateny at users.noreply.github.com>
committer: ezio-melotti <ezio.melotti at gmail.com>
date: 2022-05-06T12:28:09+02:00
summary:
Add source for character mappings (#92014)
files:
M Lib/html/entities.py
diff --git a/Lib/html/entities.py b/Lib/html/entities.py
index 91ea5da2af49d..dc508631ac478 100644
--- a/Lib/html/entities.py
+++ b/Lib/html/entities.py
@@ -4,6 +4,7 @@
# maps the HTML entity name to the Unicode code point
+# from https://html.spec.whatwg.org/multipage/named-characters.html
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
More information about the Python-checkins
mailing list