diff --git a/stdlib/2and3/imaplib.pyi b/stdlib/2and3/imaplib.pyi index 1653ae344..c22a47533 100644 --- a/stdlib/2and3/imaplib.pyi +++ b/stdlib/2and3/imaplib.pyi @@ -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):