File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -1476,17 +1476,17 @@ def _wait(self, timeout=None):
1476
1476
return bool (readables )
1477
1477
1478
1478
def _pop (self , timeout , default = ('' , None )):
1479
- """ Get the next response, or a default value on timeout
1480
-
1481
- :param timeout: Time limit (in seconds) to wait for response
1482
- :type timeout: int|float|None
1483
- :param default: Value to return on timeout
1484
-
1485
- Note: This method ignores 'dur' in favor of the timeout argument.
1486
-
1487
- Note: Windows IMAP4_stream connections will ignore the timeout
1488
- argument and block until the next response arrives, because
1489
- Windows select() only works on sockets."""
1479
+ # Get the next response, or a default value on timeout
1480
+ #
1481
+ # :param timeout: Time limit (in seconds) to wait for response
1482
+ # :type timeout: int|float|None
1483
+ # :param default: Value to return on timeout
1484
+ #
1485
+ # Note: This method ignores 'dur' in favor of the timeout argument.
1486
+ #
1487
+ # Note: Windows IMAP4_stream connections will ignore the timeout
1488
+ # argument and block until the next response arrives, because
1489
+ # Windows select() only works on sockets.
1490
1490
1491
1491
imap = self ._imap
1492
1492
if imap .state != 'IDLING' :
You can’t perform that action at this time.
0 commit comments