-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Labels
stubs: false positiveType checkers report false errorsType checkers report false errors
Description
I've noticed the following errors in imaplib.pyi
-
Variable lists of parameters are incorrectly typed. Example:
def uid(self, command: str, *args: List[str]) -> CommandResults: ...Right now it the elements that make up
argshave to be lists of strings, when they just should be strings. The declaration should be:def uid(self, command: str, *args: str) -> CommandResults: ...Other methods with the same bug:
setannotation,sort,threadandxatom. -
From Python 3.3 onwards
IMAP4_SSL's constructor allows assl_context=named parameter but this parameter is not defined in the stub file.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
stubs: false positiveType checkers report false errorsType checkers report false errors