Skip to content

Commit 8077f2e

Browse files
docs: improve style in an example
Co-authored-by: Peter Bierma <[email protected]>
1 parent f41f2bb commit 8077f2e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Doc/library/imaplib.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -333,9 +333,8 @@ An :class:`IMAP4` instance has the following methods:
333333

334334
Example::
335335

336-
with M.idle(dur=29*60) as idler:
337-
for response in idler:
338-
typ, datum = response
336+
with M.idle(dur=29 * 60) as idler:
337+
for type, datum in idler:
339338
print(typ, datum)
340339

341340
('EXISTS', b'1')

0 commit comments

Comments
 (0)