From 0e332a253c78ac13ba1a0502af06994f3030966d Mon Sep 17 00:00:00 2001 From: Utkarsh Gupta Date: Mon, 7 Oct 2019 05:26:22 +0530 Subject: [PATCH] imaplib.pyi: Add missing imaplib.IMAP4.enable() Closes: #3313 --- stdlib/2and3/imaplib.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/2and3/imaplib.pyi b/stdlib/2and3/imaplib.pyi index d24070312724..07272ce02548 100644 --- a/stdlib/2and3/imaplib.pyi +++ b/stdlib/2and3/imaplib.pyi @@ -52,6 +52,8 @@ class IMAP4: def create(self, mailbox: str) -> CommandResults: ... def delete(self, mailbox: str) -> CommandResults: ... def deleteacl(self, mailbox: str, who: str) -> CommandResults: ... + if sys.version_info >= (3, 5): + def enable(self, capability: str) -> CommandResults: ... def expunge(self) -> CommandResults: ... def fetch(self, message_set: str, message_parts: str) -> CommandResults: ... def getacl(self, mailbox: str) -> CommandResults: ...