Use variable annotations everywhere (#2909)

This commit is contained in:
Michael Lee
2019-04-13 01:40:52 -07:00
committed by Sebastian Rittau
parent b3c76aab49
commit efb67946f8
458 changed files with 9135 additions and 9135 deletions

View File

@@ -12,18 +12,18 @@ def init(files: Optional[Sequence[str]] = ...) -> None: ...
def read_mime_types(filename: str) -> Optional[Dict[str, str]]: ...
def add_type(type: str, ext: str, strict: bool = ...) -> None: ...
inited = ... # type: bool
knownfiles = ... # type: List[str]
suffix_map = ... # type: Dict[str, str]
encodings_map = ... # type: Dict[str, str]
types_map = ... # type: Dict[str, str]
common_types = ... # type: Dict[str, str]
inited: bool
knownfiles: List[str]
suffix_map: Dict[str, str]
encodings_map: Dict[str, str]
types_map: Dict[str, str]
common_types: Dict[str, str]
class MimeTypes:
suffix_map = ... # type: Dict[str, str]
encodings_map = ... # type: Dict[str, str]
types_map = ... # type: Tuple[Dict[str, str], Dict[str, str]]
types_map_inv = ... # type: Tuple[Dict[str, str], Dict[str, str]]
suffix_map: Dict[str, str]
encodings_map: Dict[str, str]
types_map: Tuple[Dict[str, str], Dict[str, str]]
types_map_inv: Tuple[Dict[str, str], Dict[str, str]]
def __init__(self, filenames: Tuple[str, ...] = ...,
strict: bool = ...) -> None: ...
def guess_extension(self, type: str,