(self)
return len(list(self.iterkeys()))
Return a count of messages in the mailbox.
Return a count of messages in the mailbox.
Return a count of messages in the mailbox .
def __len__(self):
        """Return a count of messages in the mailbox."""
        return len(list(self.iterkeys()))
def __len__ ( self ) : return len ( list ( self . iterkeys ( ) ) )