mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 03:11:16 +08:00
Remove a few files from the pytype blacklist. (#1628)
Fixes the following issues: * Literals rather than ... for default values * None rather than ... for default value of typed variable * Literals rather than ... # type for top level constants * # Foo rather than # type: Foo * return value of init not set to None
This commit is contained in:
committed by
Matthias Kramm
parent
d14272a14f
commit
d389ef3d85
@@ -42,8 +42,7 @@ if sys.version_info >= (3, 3):
|
||||
def header_source_parse(self, sourcelines: List[str]) -> str: ...
|
||||
def header_store_parse(self, name: str,
|
||||
value: str) -> Tuple[str, str]: ...
|
||||
def header_fetch_parse(self, name: str, # type: ignore
|
||||
value: str) -> Union[str, Header]: ...
|
||||
def header_fetch_parse(self, name: str, value: str) -> Union[str, Header]: ... # type: ignore
|
||||
def fold(self, name: str, value: str) -> str: ...
|
||||
def fold_binary(self, name: str, value: str) -> bytes: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user