mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
docs: improve style in an example
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
@@ -333,9 +333,8 @@ An :class:`IMAP4` instance has the following methods:
|
||||
|
||||
Example::
|
||||
|
||||
with M.idle(dur=29*60) as idler:
|
||||
for response in idler:
|
||||
typ, datum = response
|
||||
with M.idle(dur=29 * 60) as idler:
|
||||
for type, datum in idler:
|
||||
print(typ, datum)
|
||||
|
||||
('EXISTS', b'1')
|
||||
|
||||
Reference in New Issue
Block a user