code: def _push(self, mtd, args, name=None):
          '''
          Adds a command to the queue.
  
          @param mtd: Method to invoke to process the command
          @type mtd: method
          @param args: Arguments to apply when invoking the method
          @type args: tuple
          @param name: Name associated with the command
          @type name: str
          '''
          self._queue.append((mtd, args, name))
          self._pump(f _push(self, mtd, args, name=None):
          '''
          Adds a command to the queue.
  
          @param mtd: Method to invoke to process the command
          @type mtd: method
          @param args: Arguments to apply when invoking the method
          @type args: tuple
          @param name: Name associated with the command
          @type name: str
          '''
          self._queue.append((mtd, args, name))
          self._pump()
docs: Adds a command to the queue.
  
          @param mtd: Method to invoke to process the command
          @type mtd: method
          @param args: Arguments to apply when invoking the method
          @type args: tuple
          @param name: Name associated with the command
          @type name: str