mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
HTMLParser.get_starttag_text() can return None (#3072)
This commit is contained in:
committed by
Sebastian Rittau
parent
38f253ed69
commit
aa56af7dce
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user