mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Re-organize directory structure (#4971)
See discussion in #2491 Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
This commit is contained in:
20
stdlib/html/parser.pyi
Normal file
20
stdlib/html/parser.pyi
Normal file
@@ -0,0 +1,20 @@
|
||||
from _markupbase import ParserBase
|
||||
from typing import List, Optional, Tuple
|
||||
|
||||
class HTMLParser(ParserBase):
|
||||
def __init__(self, *, convert_charrefs: bool = ...) -> None: ...
|
||||
def feed(self, feed: str) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
def reset(self) -> None: ...
|
||||
def getpos(self) -> Tuple[int, int]: ...
|
||||
def get_starttag_text(self) -> Optional[str]: ...
|
||||
def handle_starttag(self, tag: str, attrs: List[Tuple[str, Optional[str]]]) -> None: ...
|
||||
def handle_endtag(self, tag: str) -> None: ...
|
||||
def handle_startendtag(self, tag: str, 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: ...
|
||||
def handle_comment(self, data: str) -> None: ...
|
||||
def handle_decl(self, decl: str) -> None: ...
|
||||
def handle_pi(self, data: str) -> None: ...
|
||||
def unknown_decl(self, data: str) -> None: ...
|
||||
Reference in New Issue
Block a user