mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
#2265: fix example.
This commit is contained in:
parent
513460f80d
commit
d85a13a954
1 changed files with 1 additions and 1 deletions
|
@ -1630,7 +1630,7 @@ format-specific information that can be converted::
|
||||||
destination = mailbox.MH('~/Mail')
|
destination = mailbox.MH('~/Mail')
|
||||||
destination.lock()
|
destination.lock()
|
||||||
for message in mailbox.Babyl('~/RMAIL'):
|
for message in mailbox.Babyl('~/RMAIL'):
|
||||||
destination.add(MHMessage(message))
|
destination.add(mailbox.MHMessage(message))
|
||||||
destination.flush()
|
destination.flush()
|
||||||
destination.unlock()
|
destination.unlock()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue