From: Forest Date: Mon, 23 Sep 2024 22:25:28 +0000 (+0000) Subject: imaplib: add comment in Idler._pop() X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0c6c9a494fa09a8e5d4fd87d9c9d3a399768767e;p=thirdparty%2FPython%2Fcpython.git imaplib: add comment in Idler._pop() Co-authored-by: Peter Bierma --- diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 596b3d3f34da..1ae2dee224c8 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -1508,6 +1508,7 @@ class Idler: raise imap.error('_pop() only works during IDLE') if imap._idle_responses: + # Response is ready to return to the user resp = imap._idle_responses.pop(0) if __debug__ and imap.debug >= 4: imap._mesg(f'idle _pop({timeout}) de-queued {resp[0]}')