mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +00:00
Add source for character mappings (GH-92014) (#92389)
(cherry picked from commit d707d073be
)
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
This commit is contained in:
parent
367faf71ea
commit
b5f5993dfe
1 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ __all__ = ['html5', 'name2codepoint', 'codepoint2name', 'entitydefs']
|
|||
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue