diff --git a/stdlib/2and3/mimetypes.pyi b/stdlib/2and3/mimetypes.pyi index ee1540f3e..45f756b1f 100644 --- a/stdlib/2and3/mimetypes.pyi +++ b/stdlib/2and3/mimetypes.pyi @@ -1,9 +1,9 @@ # Stubs for mimetypes -from typing import Dict, IO, Optional, Sequence, Tuple +from typing import Dict, IO, Optional, Sequence, Text, Tuple import sys -def guess_type(url: str, +def guess_type(url: Text, strict: bool = ...) -> Tuple[Optional[str], Optional[str]]: ... def guess_all_extensions(type: str, strict: bool = ...) -> List[str]: ... def guess_extension(type: str, strict: bool = ...) -> Optional[str]: ...