]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
imaplib: convert private doc string to comment
authorForest <forestix@nom.one>
Sun, 22 Sep 2024 22:11:49 +0000 (15:11 -0700)
committerForest <forestix@nom.one>
Sun, 22 Sep 2024 22:11:49 +0000 (15:11 -0700)
Lib/imaplib.py

index 3300d34534bcc20e0c35f9678a4956c0fb5ebf05..fec352e9b8884f55da09ce2057edae9ef6889721 100644 (file)
@@ -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':