diff --git a/stdlib/3/html/parser.pyi b/stdlib/3/html/parser.pyi index 4b10331be..d4cfb5102 100644 --- a/stdlib/3/html/parser.pyi +++ b/stdlib/3/html/parser.pyi @@ -12,7 +12,7 @@ class HTMLParser(ParserBase): def close(self) -> None: ... def reset(self) -> None: ... def getpos(self) -> Tuple[int, int]: ... - def get_starttag_text(self) -> str: ... + def get_starttag_text(self) -> Optional[str]: ... def handle_starttag(self, tag: str, attrs: List[Tuple[str, Optional[str]]]) -> None: ...