Home
last modified time | relevance | path

Searched refs:entitydefs (Results 1 – 9 of 9) sorted by relevance

/external/python/cpython2/Lib/
Dhtmlentitydefs.py264 entitydefs = {} variable
269 entitydefs[name] = chr(codepoint)
271 entitydefs[name] = '&#%d;' % codepoint
DHTMLParser.py446 entitydefs = None variable in HTMLParser
466 if HTMLParser.entitydefs is None:
467 entitydefs = HTMLParser.entitydefs = {'apos':u"'"}
469 entitydefs[k] = unichr(v)
471 return self.entitydefs[s]
Dxmllib.py209 if str in self.entitydefs:
210 str = self.entitydefs[str]
378 if name in self.entitydefs:
379 … self.rawdata = rawdata = rawdata[:res.start(0)] + self.entitydefs[name] + rawdata[i:]
770 entitydefs = {'lt': '<', # must use charref variable in XMLParser
Dsgmllib.py415 entitydefs = \ variable in SGMLParser
424 table = self.entitydefs
Dhtmllib.py32 from htmlentitydefs import entitydefs
/external/python/cpython2/Doc/library/
Dhtmllib.rst175 and ``entitydefs``. ``entitydefs`` is used by the :mod:`htmllib` module to
176 provide the :attr:`entitydefs` attribute of the :class:`~HTMLParser.HTMLParser` class. The
182 .. data:: entitydefs
Dsgmllib.rst168 method ``unknown_entityref(ref)``. The default :attr:`entitydefs` defines
180 :attr:`entitydefs` which should be a mapping from entity names to corresponding
Dxmllib.rst54 .. attribute:: entitydefs
/external/regex-re2/lib/codereview/
Dcodereview.py2318 if name in htmlentitydefs.entitydefs:
2319 self.handle_data(htmlentitydefs.entitydefs[name])