diff --git a/stdlib/2and3/imaplib.pyi b/stdlib/2and3/imaplib.pyi index 4f53146ab..ecf80c0ff 100644 --- a/stdlib/2and3/imaplib.pyi +++ b/stdlib/2and3/imaplib.pyi @@ -6,15 +6,15 @@ import sys import time from socket import socket as _socket from ssl import SSLSocket -from typing import Any, Callable, Dict, IO, List, Optional, Pattern, Text, Tuple, Union +from typing import Any, Callable, Dict, IO, List, Optional, Pattern, Text, Tuple, Type, Union CommandResults = Tuple[str, List[Any]] class IMAP4: - error: Exception - abort: Exception - readonly: Exception + error: Type[Exception] = ... + abort: Type[Exception] = ... + readonly: Type[Exception] = ... mustquote: Pattern[Text] = ... debug: int = ... state: str = ...