mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
imaplib.pyi: Take strings as args instead of a list of strings (#3308)
Fixes: #3289
This commit is contained in:
committed by
Jelle Zijlstra
parent
cd418e9546
commit
79a8f0b8c6
@@ -72,18 +72,18 @@ class IMAP4:
|
||||
def search(self, charset: Optional[str], *criteria: str) -> CommandResults: ...
|
||||
def select(self, mailbox: str = ..., readonly: bool = ...) -> CommandResults: ...
|
||||
def setacl(self, mailbox: str, who: str, what: str) -> CommandResults: ...
|
||||
def setannotation(self, *args: List[str]) -> CommandResults: ...
|
||||
def setannotation(self, *args: str) -> CommandResults: ...
|
||||
def setquota(self, root: str, limits: str) -> CommandResults: ...
|
||||
def sort(self, sort_criteria: str, charset: str, *search_criteria: List[str]) -> CommandResults: ...
|
||||
def sort(self, sort_criteria: str, charset: str, *search_criteria: str) -> CommandResults: ...
|
||||
if sys.version_info >= (3,):
|
||||
def starttls(self, ssl_context: Optional[Any] = ...) -> CommandResults: ...
|
||||
def status(self, mailbox: str, names: str) -> CommandResults: ...
|
||||
def store(self, message_set: str, command: str, flags: str) -> CommandResults: ...
|
||||
def subscribe(self, mailbox: str) -> CommandResults: ...
|
||||
def thread(self, threading_algorithm: str, charset: str, *search_criteria: List[str]) -> CommandResults: ...
|
||||
def uid(self, command: str, *args: List[str]) -> CommandResults: ...
|
||||
def thread(self, threading_algorithm: str, charset: str, *search_criteria: str) -> CommandResults: ...
|
||||
def uid(self, command: str, *args: str) -> CommandResults: ...
|
||||
def unsubscribe(self, mailbox: str) -> CommandResults: ...
|
||||
def xatom(self, name: str, *args: List[str]) -> CommandResults: ...
|
||||
def xatom(self, name: str, *args: str) -> CommandResults: ...
|
||||
def print_log(self) -> None: ...
|
||||
|
||||
class IMAP4_SSL(IMAP4):
|
||||
|
||||
Reference in New Issue
Block a user