docs: improve style in an example

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
This commit is contained in:
Gregory P. Smith 2024-09-21 10:40:51 -07:00 committed by GitHub
parent f41f2bbb58
commit 8077f2eab2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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')