diff --git a/stdlib/2and3/imaplib.pyi b/stdlib/2and3/imaplib.pyi index 8157b6701..4f53146ab 100644 --- a/stdlib/2and3/imaplib.pyi +++ b/stdlib/2and3/imaplib.pyi @@ -69,7 +69,7 @@ class IMAP4: def partial(self, message_num: str, message_part: str, start: str, length: str) -> CommandResults: ... def proxyauth(self, user: str) -> CommandResults: ... def rename(self, oldmailbox: str, newmailbox: str) -> CommandResults: ... - def search(self, charset: str, *criteria: List[str]) -> CommandResults: ... + def search(self, charset: 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: ... @@ -78,7 +78,7 @@ class IMAP4: 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: List[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: ...