HTMLParser.get_starttag_text() can return None (#3072)

This commit is contained in:
Motoki Naruse authored and Sebastian Rittau committed 2019-06-19 15:34:37 +02:00
1 parent 38f253ed69
commit aa56af7dce
1 file changed
+1 -1
+1 -1
View File
@@ -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: ...