Searched refs:codepoint2name (Results 1 – 12 of 12) sorted by relevance
2499 codepoint2name = {} variable2506 codepoint2name[codepoint] = name
260 codepoint2name = {} variable267 codepoint2name[codepoint] = name
9 from html.entities import codepoint2name18 name = codepoint2name.get(codepoint)
14 :data:`name2codepoint`, :data:`codepoint2name`, and :data:`entitydefs`.40 .. data:: codepoint2name
355 def codepoint2name(code): function357 entity = htmlentitydefs.codepoint2name.get(code)363 letters = [codepoint2name(ord(letter)) for letter in email]
80 from htmlentitydefs import codepoint2name87 if ord(c) in codepoint2name:88 l.append(u"&%s;" % codepoint2name[ord(c)])
108 l.append(u"&%s;" % htmlentitydefs.codepoint2name[ord(c)])
87 from html.entities import codepoint2name94 if ord(c) in codepoint2name:95 l.append("&%s;" % codepoint2name[ord(c)])
93 l.append("&%s;" % html.entities.codepoint2name[ord(c)])
174 This module defines three dictionaries, ``name2codepoint``, ``codepoint2name``,195 .. data:: codepoint2name
4386 codepoint2name is the reverse mapping. See SF patch #722017.
21770 codepoint2name is the reverse mapping. See SF patch #722017.