mirror of https://github.com/python/cpython.git
#2265: fix example.
This commit is contained in:
parent
513460f80d
commit
d85a13a954
|
@ -1630,7 +1630,7 @@ format-specific information that can be converted::
|
|||
destination = mailbox.MH('~/Mail')
|
||||
destination.lock()
|
||||
for message in mailbox.Babyl('~/RMAIL'):
|
||||
destination.add(MHMessage(message))
|
||||
destination.add(mailbox.MHMessage(message))
|
||||
destination.flush()
|
||||
destination.unlock()
|
||||
|
||||
|
|
Loading…
Reference in New Issue