mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
committed by
Jukka Lehtosalo
parent
00e4027b77
commit
090dafb9b0
@@ -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]: ...
|
||||
|
||||
Reference in New Issue
Block a user