parameters: (self, cmd)
return_statement: return self.getresp()
docstring: Send a command and return the response.
docstring_summary: Send a command and return the response.
docstring_tokens: Send a command and return the response .
function: def sendcmd(self, cmd):
          '''Send a command and return the response.'''
          self.putcmd(cmd)
          return self.getresp()
function_tokens: def sendcmd ( self , cmd ) : self . putcmd ( cmd ) return self . getresp ( )