imaplib.pyi: Take strings as args instead of a list of strings (#3308)

Fixes: #3289
This commit is contained in:
Utkarsh Gupta
2019-10-05 08:40:21 +05:30
committed by Jelle Zijlstra
parent cd418e9546
commit 79a8f0b8c6

View File

@@ -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):