From 0c6c9a494fa09a8e5d4fd87d9c9d3a399768767e Mon Sep 17 00:00:00 2001 From: Forest Date: Mon, 23 Sep 2024 22:25:28 +0000 Subject: [PATCH] imaplib: add comment in Idler._pop() Co-authored-by: Peter Bierma --- Lib/imaplib.py | 1 + 1 file changed, 1 insertion(+) 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]}') -- 2.47.3