Skip to content

Commit 447691c

Browse files
utkarsh2102JelleZijlstra
authored andcommitted
imaplib.pyi: Add missing imaplib.IMAP4.enable() (#3314)
Closes: #3313
1 parent 717cd1f commit 447691c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

stdlib/2and3/imaplib.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ class IMAP4:
5252
def create(self, mailbox: str) -> CommandResults: ...
5353
def delete(self, mailbox: str) -> CommandResults: ...
5454
def deleteacl(self, mailbox: str, who: str) -> CommandResults: ...
55+
if sys.version_info >= (3, 5):
56+
def enable(self, capability: str) -> CommandResults: ...
5557
def expunge(self) -> CommandResults: ...
5658
def fetch(self, message_set: str, message_parts: str) -> CommandResults: ...
5759
def getacl(self, mailbox: str) -> CommandResults: ...

0 commit comments

Comments
 (0)