parameters: (self, arg)
docstring: Usage: logout
docstring_summary: Usage: logout
docstring_tokens: Usage : logout
function: def do_logout(self, arg):
          """Usage: logout"""
  
          args = arg.split()
          if len(args) != 0:
              print(self.do_logout.__doc__)
              return
  
          if self.cwd == None:
              print('INFO: Not logged in')
              return
  
          self._api.logout()
          self.cwd = None
function_tokens: def do_logout ( self , arg ) : args = arg . split ( ) if len ( args ) != 0 : print ( self . do_logout . __doc__ ) return if self . cwd == None : print ( 'INFO: Not logged in' ) return self . _api . logout ( ) self . cwd = None