parameters: (self, oldmailbox, newmailbox)
return_statement: return self._simple_command('RENAME', oldmailbox, newmailbox)
docstring: Rename old mailbox name to new.
  
          (typ, [data]) = <instance>.rename(oldmailbox, newmailbox)
docstring_summary: Rename old mailbox name to new.
docstring_tokens: Rename old mailbox name to new .
function: def rename(self, oldmailbox, newmailbox):
          """Rename old mailbox name to new.
  
          (typ, [data]) = <instance>.rename(oldmailbox, newmailbox)
          """
          return self._simple_command('RENAME', oldmailbox, newmailbox)
function_tokens: def rename ( self , oldmailbox , newmailbox ) : return self . _simple_command ( 'RENAME' , oldmailbox , newmailbox )