mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 02:31:09 +08:00
imghdr: h can be None (#3815)
This commit is contained in:
1 parent
009e650a1d
commit
b208f21fbd
2 files changed
+1
-2
No files matched your search
@@ -10,7 +10,7 @@ else:
|
||||
|
||||
|
||||
@overload
|
||||
def what(file: _File) -> Optional[str]: ...
|
||||
def what(file: _File, h: None = ...) -> Optional[str]: ...
|
||||
@overload
|
||||
def what(file: Any, h: bytes) -> Optional[str]: ...
|
||||
tests: List[Callable[[bytes, BinaryIO], Optional[str]]]
|
||||
@@ -328,7 +328,6 @@ http.cookies.Morsel.update
|
||||
http.server.HTTPServer.__init__
|
||||
imaplib.IMAP4_SSL.ssl
|
||||
imaplib.IMAP4_stream.open
|
||||
imghdr.what
|
||||
importlib.abc.FileLoader.get_filename
|
||||
importlib.abc.Loader.exec_module
|
||||
importlib.abc.MetaPathFinder.find_spec
|
||||
|
||||
Reference in new issue
Block a user