From 48f6f760736a8346fa6649aea46acd4c4acc2378 Mon Sep 17 00:00:00 2001 From: Forest Date: Sun, 22 Sep 2024 15:11:49 -0700 Subject: [PATCH] imaplib: convert private doc string to comment --- Lib/imaplib.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Lib/imaplib.py b/Lib/imaplib.py index 3300d34534bc..fec352e9b888 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -1476,17 +1476,17 @@ class _Idler: return bool(readables) def _pop(self, timeout, default=('', None)): - """Get the next response, or a default value on timeout - - :param timeout: Time limit (in seconds) to wait for response - :type timeout: int|float|None - :param default: Value to return on timeout - - Note: This method ignores 'dur' in favor of the timeout argument. - - Note: Windows IMAP4_stream connections will ignore the timeout - argument and block until the next response arrives, because - Windows select() only works on sockets.""" + # Get the next response, or a default value on timeout + # + # :param timeout: Time limit (in seconds) to wait for response + # :type timeout: int|float|None + # :param default: Value to return on timeout + # + # Note: This method ignores 'dur' in favor of the timeout argument. + # + # Note: Windows IMAP4_stream connections will ignore the timeout + # argument and block until the next response arrives, because + # Windows select() only works on sockets. imap = self._imap if imap.state != 'IDLING': -- 2.47.3