Stdlib: add container default values (#9909)

This commit is contained in:
Alex Waygood
2023-03-21 08:12:34 +00:00
committed by GitHub
parent 151159709d
commit dd2818a41d
66 changed files with 246 additions and 242 deletions
+1 -1
View File
@@ -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]: ...