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: ...

View File

@@ -29,8 +29,6 @@ select.POLLMSG # system dependent
(termios.[A-Z0-9_]+)?
# Exists at runtime, but missing from stubs
mimetypes.MimeTypes.read_windows_registry
_ctypes.dlclose
_ctypes.dlopen
_ctypes.dlsym

View File

@@ -14,7 +14,6 @@ signal.SIGINFO
socket.[A-Z0-9_]+
# Exists at runtime, but missing from stubs
mimetypes.MimeTypes.read_windows_registry
spwd.struct_spwd.sp_nam
spwd.struct_spwd.sp_pwd