From 447691cf46d7b84df0db75370eb79596911645c6 Mon Sep 17 00:00:00 2001 From: Utkarsh Gupta Date: Mon, 7 Oct 2019 08:18:48 +0530 Subject: [PATCH] imaplib.pyi: Add missing imaplib.IMAP4.enable() (#3314) 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 d24070312..07272ce02 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: ...