Searched refs:HTMLParser (Results 1 – 18 of 18) sorted by relevance
| /third_party/python/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 …]
|
| /third_party/skia/experimental/tools/ |
| D | get_examples.py | 16 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/ |
| 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)
|
| /third_party/python/Lib/idlelib/ |
| D | help.py | 27 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/ |
| D | linkcheck.py | 18 parser = et.HTMLParser()
|
| D | check_html_xrefs.py | 52 parser = etree.HTMLParser()
|
| D | map_html_anchors.py | 174 parser = etree.HTMLParser()
|
| /third_party/python/Lib/test/ |
| D | test_htmlparser.py | 8 class EventCollector(html.parser.HTMLParser): 13 html.parser.HTMLParser.__init__(self, *args, **kw)
|
| /third_party/skia/third_party/externals/harfbuzz/src/ |
| D | gen-tag-table.py | 29 from html.parser import HTMLParser 315 class OpenTypeRegistryParser (HTMLParser): 335 HTMLParser.__init__ (self)
|
| /third_party/python/Lib/html/ |
| D | parser.py | 62 class HTMLParser(_markupbase.ParserBase): class
|
| /third_party/python/Doc/whatsnew/ |
| D | 3.4.rst | 944 :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`).
|
| D | 3.5.rst | 2419 * 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
|
| D | 3.0.rst | 609 * :mod:`html` (:mod:`HTMLParser`, :mod:`htmlentitydefs`).
|
| D | 3.3.rst | 1432 :class:`html.parser.HTMLParser` is now able to parse broken markup without 1445 now also used by :class:`~html.parser.HTMLParser`. (Contributed by Ezio
|
| D | 3.9.rst | 1062 * The ``unescape()`` method in the :class:`html.parser.HTMLParser` class
|
| D | 3.10.rst | 1794 module has been removed. :class:`html.parser.HTMLParser` is the only subclass of
|
| /third_party/python/Misc/ |
| D | HISTORY | 405 - 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 …]
|
| D | NEWS | 9661 - bpo-41748: Fix HTMLParser parsing rules for element attributes containing 11909 undocumented ``_markupbase`` module. :class:`html.parser.HTMLParser` is 15635 - bpo-37328: ``HTMLParser.unescape`` is removed. It was undocumented and 33623 - bpo-23144: Make sure that HTMLParser.feed() returns all the data, even 35981 HTMLParser to True. Patch by Berker Peksag. 35985 - bpo-15114: the strict mode and argument of HTMLParser, HTMLParser.error,
|