mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
mimetypes.MimeTypes.read_windows_registry always exists (#10821)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user