(self)
return typ, dat
Close currently selected mailbox.

        Deleted messages are removed from writable mailbox.
        This is the recommended command before 'LOGOUT'.

        (typ, [data]) = <instance>.close()
Close currently selected mailbox.
Close currently selected mailbox .
def close(self):
        """Close currently selected mailbox.

        Deleted messages are removed from writable mailbox.
        This is the recommended command before 'LOGOUT'.

        (typ, [data]) = <instance>.close()
        """
        try:
            typ, dat = self._simple_command('CLOSE')
        finally:
            self.state = 'AUTH'
        return typ, dat
def close ( self ) : try : typ , dat = self . _simple_command ( 'CLOSE' ) finally : self . state = 'AUTH' return typ , dat