Home
last modified time | relevance | path

Searched refs:HTMLParser (Results 1 – 22 of 22) sorted by relevance

/third_party/python/Doc/library/
Dhtml.parser.rst15 This module defines a class :class:`HTMLParser` which serves as the basis for
18 .. class:: HTMLParser(*, convert_charrefs=True)
26 An :class:`.HTMLParser` instance is fed HTML data and calls handler methods
28 encountered. The user should subclass :class:`.HTMLParser` and override its
45 :class:`HTMLParser` class to print out start tags, end tags, and data
48 from html.parser import HTMLParser
50 class MyHTMLParser(HTMLParser):
82 :class:`.HTMLParser` Methods
85 :class:`HTMLParser` instances have the following methods:
88 .. method:: HTMLParser.feed(data)
[all …]
/third_party/skia/experimental/tools/
Dget_examples.py16 from HTMLParser import HTMLParser
17 def unescape(v): return HTMLParser().unescape(v)
20 from html.parser import HTMLParser
28 class FiddleSk(HTMLParser):
30 HTMLParser.__init__(self)
/third_party/skia/tools/
Dcompare_codereview.py22 import HTMLParser
25 class CodeReviewHTMLParser(HTMLParser.HTMLParser):
63 HTMLParser.HTMLParser.__init__(self)
147 class BuilderHTMLParser(HTMLParser.HTMLParser):
182 HTMLParser.HTMLParser.__init__(self)
/third_party/python/Lib/idlelib/
Dhelp.py27 from html.parser import HTMLParser
42 class HelpParser(HTMLParser):
52 HTMLParser.__init__(self, convert_charrefs=True)
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/
Dlinkcheck.py18 parser = et.HTMLParser()
Dcheck_html_xrefs.py52 parser = etree.HTMLParser()
Dmap_html_anchors.py174 parser = etree.HTMLParser()
/third_party/python/Lib/test/
Dtest_htmlparser.py8 class EventCollector(html.parser.HTMLParser):
13 html.parser.HTMLParser.__init__(self, *args, **kw)
/third_party/skia/third_party/externals/harfbuzz/src/
Dgen-tag-table.py29 from html.parser import HTMLParser
315 class OpenTypeRegistryParser (HTMLParser):
335 HTMLParser.__init__ (self)
/third_party/python/Lib/html/
Dparser.py62 class HTMLParser(_markupbase.ParserBase): class
/third_party/python/Misc/NEWS.d/
D3.10.0a5.rst359 Fix HTMLParser parsing rules for element attributes containing commas with
D3.5.1rc1.rst725 Make sure that HTMLParser.feed() returns all the data, even when
D3.5.0a1.rst2760 set the default value for the *convert_charrefs* argument of HTMLParser to
2779 the strict mode and argument of HTMLParser, HTMLParser.error, and the
D3.10.0a1.rst2519 ``_markupbase`` module. :class:`html.parser.HTMLParser` is the only
D3.9.0a1.rst2913 ``HTMLParser.unescape`` is removed. It was undocumented and deprecated
/third_party/python/Doc/whatsnew/
D3.4.rst944 :class:`~html.parser.HTMLParser` accepts a new keyword argument
951 The *strict* argument of :class:`~html.parser.HTMLParser` is now deprecated.
2122 * The *strict* argument of :class:`~html.parser.HTMLParser` is deprecated.
2440 * The new *convert_charrefs* argument to :class:`~html.parser.HTMLParser`
2444 :class:`~html.parser.HTMLParser` calls in your code (:issue:`13633`).
D3.5.rst2419 * The deprecated "strict" mode and argument of :class:`~html.parser.HTMLParser`,
2420 :meth:`HTMLParser.error`, and the :exc:`HTMLParserError` exception have been
2422 The *convert_charrefs* argument of :class:`~html.parser.HTMLParser` is
D3.0.rst609 * :mod:`html` (:mod:`HTMLParser`, :mod:`htmlentitydefs`).
D3.3.rst1432 :class:`html.parser.HTMLParser` is now able to parse broken markup without
1445 now also used by :class:`~html.parser.HTMLParser`. (Contributed by Ezio
D3.9.rst1047 * The ``unescape()`` method in the :class:`html.parser.HTMLParser` class
D3.10.rst1792 module has been removed. :class:`html.parser.HTMLParser` is the only subclass of
/third_party/python/Misc/
DHISTORY405 - Issue #23144: Make sure that HTMLParser.feed() returns all the data, even
2468 - Issue #20288: fix handling of invalid numeric charrefs in HTMLParser.
3368 - Issue #13633: Added a new convert_charrefs keyword arg to HTMLParser that,
3467 - Issue #19480: HTMLParser now accepts all valid start-tag names as defined
3471 strict argument of HTMLParser or the HTMLParser.error method are used.
5019 - Issue #14679: add an __all__ (that contains only HTMLParser) to html.parser.
7221 - Issue #15156: HTMLParser now uses the new "html.entities.html5" dictionary.
7227 - Issue #15114: the strict mode of HTMLParser and the HTMLParseError exception
7876 - Issue #14538: HTMLParser can now parse correctly start tags that contain
8727 - HTMLParser is now able to handle slashes in the start tag.
[all …]