mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 13:51:30 +08:00
Fix HTMLParser.handle_startendtag() attrs annotation (#3366)
The value can be None here as well as in handle_starttag().
This commit is contained in:
committed by
Sebastian Rittau
parent
b969ead0ce
commit
89f0f63502
@@ -13,7 +13,7 @@ class HTMLParser(ParserBase):
|
||||
attrs: List[Tuple[str, Optional[str]]]) -> None: ...
|
||||
def handle_endtag(self, tag: str) -> None: ...
|
||||
def handle_startendtag(self, tag: str,
|
||||
attrs: List[Tuple[str, str]]) -> None: ...
|
||||
attrs: List[Tuple[str, Optional[str]]]) -> None: ...
|
||||
def handle_data(self, data: str) -> None: ...
|
||||
def handle_entityref(self, name: str) -> None: ...
|
||||
def handle_charref(self, name: str) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user