Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c6c9a4

Browse files
imaplib: add comment in Idler._pop()
Co-authored-by: Peter Bierma <[email protected]>
1 parent 94c02e8 commit 0c6c9a4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/imaplib.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1508,6 +1508,7 @@ def _pop(self, timeout, default=('', None)):
15081508
raise imap.error('_pop() only works during IDLE')
15091509

15101510
if imap._idle_responses:
1511+
# Response is ready to return to the user
15111512
resp = imap._idle_responses.pop(0)
15121513
if __debug__ and imap.debug >= 4:
15131514
imap._mesg(f'idle _pop({timeout}) de-queued {resp[0]}')

0 commit comments

Comments
 (0)