(self, oldmailbox, newmailbox)
return self._simple_command('RENAME', oldmailbox, newmailbox)
Rename old mailbox name to new.

        (typ, [data]) = <instance>.rename(oldmailbox, newmailbox)
Rename old mailbox name to new.
Rename old mailbox name to new .
def rename(self, oldmailbox, newmailbox):
        """Rename old mailbox name to new.

        (typ, [data]) = <instance>.rename(oldmailbox, newmailbox)
        """
        return self._simple_command('RENAME', oldmailbox, newmailbox)
def rename ( self , oldmailbox , newmailbox ) : return self . _simple_command ( 'RENAME' , oldmailbox , newmailbox )