Searched refs:HTMLParser (Results 1 – 25 of 39) sorted by relevance
12
/external/python/cpython2/Doc/library/ |
D | htmlparser.rst | 2 :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 …]
|
D | htmllib.rst | 10 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 …]
|
D | formatter.rst | 9 .. index:: single: HTMLParser (class in htmllib) 12 implementations. The *formatter* interface is used by the :class:`~HTMLParser.HTMLParser`
|
D | sgmllib.rst | 18 somewhat different interface is available in the :mod:`HTMLParser` module.
|
/external/python/cpython3/Doc/library/ |
D | html.parser.rst | 15 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/ |
D | compare_codereview.py | 22 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/ |
D | compare_codereview.py | 22 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/ |
D | test_htmlparser.py | 3 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()
|
D | test_htmllib.py | 8 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/ |
D | noise_summary.py | 9 from HTMLParser import HTMLParser 23 class ParseReport(HTMLParser): 25 HTMLParser.__init__(self)
|
/external/python/cpython2/Lib/idlelib/ |
D | help.py | 27 from HTMLParser import HTMLParser 43 class HelpParser(HTMLParser): 53 HTMLParser.__init__(self)
|
/external/harfbuzz_ng/src/ |
D | gen-vowel-constraints.py | 15 from HTMLParser import HTMLParser 19 from html.parser import HTMLParser
|
D | gen-tag-table.py | 25 from HTMLParser import HTMLParser 29 from html.parser import HTMLParser 322 class OpenTypeRegistryParser (HTMLParser): 342 HTMLParser.__init__ (self)
|
/external/u-boot/tools/buildman/ |
D | toolchain.py | 7 from HTMLParser import HTMLParser 21 class MyHTMLParser(HTMLParser): 32 HTMLParser.__init__(self)
|
/external/python/cpython3/Lib/idlelib/ |
D | help.py | 27 from html.parser import HTMLParser 42 class HelpParser(HTMLParser): 52 HTMLParser.__init__(self, convert_charrefs=True)
|
/external/python/cpython2/Lib/ |
D | HTMLParser.py | 75 class HTMLParser(markupbase.ParserBase): class 465 if HTMLParser.entitydefs is None: 470 HTMLParser.entitydefs = entitydefs
|
D | htmllib.py | 23 class HTMLParser(sgmllib.SGMLParser): class 485 p = HTMLParser(f)
|
/external/python/setuptools/setuptools/ |
D | py33compat.py | 54 unescape = getattr(html, 'unescape', html_parser.HTMLParser().unescape)
|
/external/python/cpython3/Lib/test/ |
D | test_htmlparser.py | 8 class EventCollector(html.parser.HTMLParser): 13 html.parser.HTMLParser.__init__(self, *args, **kw)
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.3rc1.rst | 273 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>``
|
D | 2.7.7rc1.rst | 438 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/ |
D | parser.py | 63 class HTMLParser(_markupbase.ParserBase): class
|
/external/autotest/client/common_lib/cros/ |
D | dev_server.py | 7 import HTMLParser 229 class MarkupStripper(HTMLParser.HTMLParser):
|
/external/python/cpython2/Misc/ |
D | maintainers.rst | 129 HTMLParser
|
/external/tagsoup/ |
D | CHANGES | 111 The shared HTMLParser object has been eliminated
|
12