Home
last modified time | relevance | path

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

12

/external/python/cpython2/Doc/library/
Dhtmlparser.rst2 :mod:`HTMLParser` --- Simple HTML and XHTML parser
5 .. module:: HTMLParser
10 The :mod:`HTMLParser` module has been renamed to :mod:`html.parser` in Python
21 **Source code:** :source:`Lib/HTMLParser.py`
25 This module defines a class :class:`.HTMLParser` which serves as the basis for
31 .. class:: HTMLParser()
33 An :class:`.HTMLParser` instance is fed HTML data and calls handler methods
35 encountered. The user should subclass :class:`.HTMLParser` and override its
38 The :class:`.HTMLParser` class is instantiated without arguments.
48 :class:`.HTMLParser` is able to handle broken markup, but in some cases it
[all …]
Dhtmllib.rst10 Use :mod:`HTMLParser` instead in Python 2, and the equivalent,
27 output. The :class:`~HTMLParser.HTMLParser` class is designed to be used as a base class
31 :class:`~HTMLParser.HTMLParser` implementation supports the HTML 2.0 language as described
64 .. class:: HTMLParser(formatter)
73 Exception raised by the :class:`~HTMLParser.HTMLParser` class when it encounters an error
85 Module :mod:`HTMLParser`
94 Base class for :class:`~HTMLParser.HTMLParser`.
99 HTMLParser Objects
102 In addition to tag methods, the :class:`~HTMLParser.HTMLParser` class provides some
106 .. attribute:: HTMLParser.formatter
[all …]
Dformatter.rst9 .. index:: single: HTMLParser (class in htmllib)
12 implementations. The *formatter* interface is used by the :class:`~HTMLParser.HTMLParser`
Dsgmllib.rst18 somewhat different interface is available in the :mod:`HTMLParser` module.
/external/python/cpython3/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 …]
/external/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)
/external/skqp/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)
/external/python/cpython2/Lib/test/
Dtest_htmlparser.py3 import HTMLParser
9 class EventCollector(HTMLParser.HTMLParser):
14 HTMLParser.HTMLParser.__init__(self)
91 parser = HTMLParser.HTMLParser()
94 self.assertRaises(HTMLParser.HTMLParseError, parse)
405 parser = HTMLParser.HTMLParser()
Dtest_htmllib.py8 class AnchorCollector(htmllib.HTMLParser):
11 htmllib.HTMLParser.__init__(self, *args, **kw)
19 class DeclCollector(htmllib.HTMLParser):
22 htmllib.HTMLParser.__init__(self, *args, **kw)
/external/autotest/client/site_tests/firmware_TouchMTB/
Dnoise_summary.py9 from HTMLParser import HTMLParser
23 class ParseReport(HTMLParser):
25 HTMLParser.__init__(self)
/external/python/cpython2/Lib/idlelib/
Dhelp.py27 from HTMLParser import HTMLParser
43 class HelpParser(HTMLParser):
53 HTMLParser.__init__(self)
/external/harfbuzz_ng/src/
Dgen-vowel-constraints.py15 from HTMLParser import HTMLParser
19 from html.parser import HTMLParser
Dgen-tag-table.py25 from HTMLParser import HTMLParser
29 from html.parser import HTMLParser
322 class OpenTypeRegistryParser (HTMLParser):
342 HTMLParser.__init__ (self)
/external/u-boot/tools/buildman/
Dtoolchain.py7 from HTMLParser import HTMLParser
21 class MyHTMLParser(HTMLParser):
32 HTMLParser.__init__(self)
/external/python/cpython3/Lib/idlelib/
Dhelp.py27 from html.parser import HTMLParser
42 class HelpParser(HTMLParser):
52 HTMLParser.__init__(self, convert_charrefs=True)
/external/python/cpython2/Lib/
DHTMLParser.py75 class HTMLParser(markupbase.ParserBase): class
465 if HTMLParser.entitydefs is None:
470 HTMLParser.entitydefs = entitydefs
Dhtmllib.py23 class HTMLParser(sgmllib.SGMLParser): class
485 p = HTMLParser(f)
/external/python/setuptools/setuptools/
Dpy33compat.py54 unescape = getattr(html, 'unescape', html_parser.HTMLParser().unescape)
/external/python/cpython3/Lib/test/
Dtest_htmlparser.py8 class EventCollector(html.parser.HTMLParser):
13 html.parser.HTMLParser.__init__(self, *args, **kw)
/external/python/cpython2/Misc/NEWS.d/
D2.7.3rc1.rst273 HTMLParser is now able to handle slashes in the start tag.
310 HTMLParser is now able to handle EOFs in the middle of a construct and
349 HTMLParser is now able to handle broken end tags.
358 HTMLParser is now able to handle broken comments.
652 HTMLParser now calls handle_data only once for each CDATA.
671 HTMLParser now correctly handles non-valid attributes, including adjacent
728 Fix HTMLParser to correctly handle the content of ``<script>...</script>``
D2.7.7rc1.rst438 fix handling of invalid numeric charrefs in HTMLParser.
884 HTMLParser now accepts all valid start-tag names as defined by the HTML5
/external/python/cpython3/Lib/html/
Dparser.py63 class HTMLParser(_markupbase.ParserBase): class
/external/autotest/client/common_lib/cros/
Ddev_server.py7 import HTMLParser
229 class MarkupStripper(HTMLParser.HTMLParser):
/external/python/cpython2/Misc/
Dmaintainers.rst129 HTMLParser
/external/tagsoup/
DCHANGES111 The shared HTMLParser object has been eliminated

12