mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
committed by
Sebastian Rittau
parent
0e5b3770f8
commit
40c4e4ff3d
@@ -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