Allow IMAP4.search() to accept "None" charset as docs say (#2310)

This commit is contained in:
NAKAMURA Yoshitaka
2018-07-05 15:24:51 +09:00
committed by Jelle Zijlstra
parent 347595bafb
commit c78b9eb022

View File

@@ -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: str) -> CommandResults: ...
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: ...