mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 10:32:40 +08:00
1 parent
0e5b3770f8
commit
40c4e4ff3d
1 file changed
+2
-2
@@ -1,4 +1,4 @@
|
||||
from typing import List, Tuple
|
||||
from typing import List, Optional, Tuple
|
||||
from _markupbase import ParserBase
|
||||
import sys
|
||||
|
||||
@@ -15,7 +15,7 @@ class HTMLParser(ParserBase):
|
||||
def get_starttag_text(self) -> str: ...
|
||||
|
||||
def handle_starttag(self, tag: str,
|
||||
attrs: List[Tuple[str, str]]) -> None: ...
|
||||
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: ...
|
||||
|
||||
Reference in new issue
Block a user