mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-06 02:32:50 +08:00
mimetypes.MimeTypes.read_windows_registry always exists (#10821)
This commit is contained in:
1 parent
b3b5661f80
commit
66d183fc56
3 files changed
+1
-5
No files matched your search
@@ -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