mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-01 23:43:46 +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:
1 parent
b969ead0ce
commit
89f0f63502
1 file changed
+1
-1
@@ -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