Skip to content

Commit 48f6f76

Browse files
committed
imaplib: convert private doc string to comment
1 parent f648fec commit 48f6f76

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

Lib/imaplib.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1476,17 +1476,17 @@ def _wait(self, timeout=None):
14761476
return bool(readables)
14771477

14781478
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.
14901490

14911491
imap = self._imap
14921492
if imap.state != 'IDLING':

0 commit comments

Comments
 (0)