parameters: (self, args)
return_statement: return getattr(self, method)(*args[1:])
docstring: Dispatches a string command to a method.
docstring_summary: Dispatches a string command to a method.
docstring_tokens: Dispatches a string command to a method .
function: def Dispatch(self, args):
          """Dispatches a string command to a method."""
          if len(args) < 1:
              raise Exception("Not enough arguments")
  
          method = "Exec%s" % self._CommandifyName(args[0])
          return getattr(self, method)(*args[1:])
function_tokens: def Dispatch ( self , args ) : if len ( args ) < 1 : raise Exception ( "Not enough arguments" ) method = "Exec%s" % self . _CommandifyName ( args [ 0 ] ) return getattr ( self , method ) ( * args [ 1 : ] )