mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-13 08:28:54 +08:00
Stdlib: add container default values (#9909)
This commit is contained in:
1 parent
151159709d
commit
dd2818a41d
66 files changed
+246
-242
No files matched your search
@@ -43,7 +43,7 @@ class MimeTypes:
|
||||
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 = True) -> None: ...
|
||||
def __init__(self, filenames: tuple[str, ...] = (), strict: bool = True) -> None: ...
|
||||
def guess_extension(self, type: str, strict: bool = True) -> str | None: ...
|
||||
if sys.version_info >= (3, 8):
|
||||
def guess_type(self, url: StrPath, strict: bool = True) -> tuple[str | None, str | None]: ...
|
||||
|
||||
Reference in new issue
Block a user