(self)
return typ, dat
Shutdown connection to server.

        (typ, [data]) = <instance>.logout()

        Returns server 'BYE' response.
Shutdown connection to server.
Shutdown connection to server .
def logout(self):
        """Shutdown connection to server.

        (typ, [data]) = <instance>.logout()

        Returns server 'BYE' response.
        """
        self.state = 'LOGOUT'
        typ, dat = self._simple_command('LOGOUT')
        self.shutdown()
        return typ, dat
def logout ( self ) : self . state = 'LOGOUT' typ , dat = self . _simple_command ( 'LOGOUT' ) self . shutdown ( ) return typ , dat