From 11f012a2b646c2ca58d688e35116808593bc40ff Mon Sep 17 00:00:00 2001 From: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Date: Sun, 2 May 2021 16:24:34 -0700 Subject: [PATCH] html.parser: complete stub (#5323) Co-authored-by: hauntsaninja <> --- stdlib/html/parser.pyi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/stdlib/html/parser.pyi b/stdlib/html/parser.pyi index b49766bfc..82431b7e1 100644 --- a/stdlib/html/parser.pyi +++ b/stdlib/html/parser.pyi @@ -18,3 +18,13 @@ class HTMLParser(ParserBase): def handle_decl(self, decl: str) -> None: ... def handle_pi(self, data: str) -> None: ... def unknown_decl(self, data: str) -> None: ... + CDATA_CONTENT_ELEMENTS: Tuple[str, ...] + def check_for_whole_start_tag(self, i: int) -> int: ... # undocumented + def clear_cdata_mode(self) -> None: ... # undocumented + def goahead(self, end: bool) -> None: ... # undocumented + def parse_bogus_comment(self, i: int, report: bool = ...) -> int: ... # undocumented + def parse_endtag(self, i: int) -> int: ... # undocumented + def parse_html_declaration(self, i: int) -> int: ... # undocumented + def parse_pi(self, i: int) -> int: ... # undocumented + def parse_starttag(self, i: int) -> int: ... # undocumented + def set_cdata_mode(self, elem: str) -> None: ... # undocumented