mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 00:43:45 +08:00
Mypy now supports sys.platform and sys.version_info checks (#410)
This commit is contained in:
1 parent
112a1a17dd
commit
39325bf159
27 files changed
+289
-276
No files matched your search
@@ -6,10 +6,10 @@ class HTMLParser(ParserBase):
|
||||
if sys.version_info >= (3, 5):
|
||||
def __init__(self, *, convert_charrefs: bool = ...) -> None: ...
|
||||
elif sys.version_info >= (3, 4):
|
||||
def __init__(self, strict: bool = ..., *, # type: ignore
|
||||
def __init__(self, strict: bool = ..., *,
|
||||
convert_charrefs: bool = ...) -> None: ...
|
||||
else:
|
||||
def __init__(self, strict: bool = ...) -> None: ... # type: ignore
|
||||
def __init__(self, strict: bool = ...) -> None: ...
|
||||
def feed(self, feed: str) -> None: ...
|
||||
def close(self) -> None: ...
|
||||
def reset(self) -> None: ...
|
||||
|
||||
Reference in new issue
Block a user