[Python-checkins] Add source for character mappings (GH-92014) (#92389)

ezio-melotti webhook-mailer at python.org
Fri May 6 06:58:25 EDT 2022


https://github.com/python/cpython/commit/b5f5993dfe1c9e5dc48e3e514f282464da9fb4a3
commit: b5f5993dfe1c9e5dc48e3e514f282464da9fb4a3
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ezio-melotti <ezio.melotti at gmail.com>
date: 2022-05-06T12:58:16+02:00
summary:

Add source for character mappings (GH-92014) (#92389)

(cherry picked from commit d707d073be5ecacb7ad341a1c1716f4998907d6b)

Co-authored-by: slateny <46876382+slateny at users.noreply.github.com>

Co-authored-by: slateny <46876382+slateny at users.noreply.github.com>

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