mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-07 05:54:02 +08:00
[imaplib] IMAP4.append returns a tuple (status, [data]) (#15183)
This commit is contained in:
+1
-1
@@ -61,7 +61,7 @@ class IMAP4:
|
||||
def socket(self) -> _socket: ...
|
||||
def recent(self) -> _CommandResults: ...
|
||||
def response(self, code: str) -> _CommandResults: ...
|
||||
def append(self, mailbox: str, flags: str, date_time: str, message: ReadableBuffer) -> str: ...
|
||||
def append(self, mailbox: str, flags: str, date_time: str, message: ReadableBuffer) -> tuple[str, _list[bytes]]: ...
|
||||
def authenticate(self, mechanism: str, authobject: Callable[[bytes], bytes | None]) -> tuple[str, str]: ...
|
||||
def capability(self) -> _CommandResults: ...
|
||||
def check(self) -> _CommandResults: ...
|
||||
|
||||
Reference in New Issue
Block a user