mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 02:51:28 +08:00
1 parent
4697adcb1a
commit
9ccf9356bf
55 files changed
+988
-1266
No files matched your search
@@ -3,11 +3,7 @@ from _markupbase import ParserBase
|
||||
import sys
|
||||
|
||||
class HTMLParser(ParserBase):
|
||||
if sys.version_info >= (3, 5):
|
||||
def __init__(self, *, convert_charrefs: bool = ...) -> None: ...
|
||||
else:
|
||||
def __init__(self, strict: bool = ..., *,
|
||||
convert_charrefs: bool = ...) -> None: ...
|
||||
def __init__(self, *, convert_charrefs: bool = ...) -> None: ...
|
||||
def feed(self, feed: str) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
def reset(self) -> None: ...
|
||||
@@ -26,6 +22,3 @@ class HTMLParser(ParserBase):
|
||||
def handle_decl(self, decl: str) -> None: ...
|
||||
def handle_pi(self, data: str) -> None: ...
|
||||
def unknown_decl(self, data: str) -> None: ...
|
||||
|
||||
if sys.version_info < (3, 5):
|
||||
class HTMLParseError(Exception): ...
|
||||
Reference in new issue
Block a user