mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
docs: improve style in an example
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
parent
f41f2bbb58
commit
8077f2eab2
1 changed files with 2 additions and 3 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue