mailbox.Mailbox.popitem()

popitem()

Return an arbitrary (key, message) pair, where key is a key and message is a message representation, and delete the corresponding message. If the mailbox is empty, raise a KeyError exception. The message is represented as an instance of the appropriate format-specific Message subclass unless a custom message factory was specified when the Mailbox instance was initialized.

doc_python
2016-10-07 17:36:38
Comments
Leave a Comment

Please login to continue.