mimetypes.MimeTypes.read_windows_registry always exists (#10821)

This commit is contained in:
Nikita Sobolev
2023-10-02 13:35:48 +03:00
committed by GitHub
parent b3b5661f80
commit 66d183fc56
3 changed files with 1 additions and 5 deletions

View File

@@ -53,5 +53,4 @@ class MimeTypes:
def guess_all_extensions(self, type: str, strict: bool = True) -> list[str]: ...
def read(self, filename: str, strict: bool = True) -> None: ...
def readfp(self, fp: IO[str], strict: bool = True) -> None: ...
if sys.platform == "win32":
def read_windows_registry(self, strict: bool = True) -> None: ...
def read_windows_registry(self, strict: bool = True) -> None: ...