(self, args)
return tuple(args)
Helper function to return a tuple of arguments from args.

        This function is used to allow N-ary operators to express their arguments
        both as a list of arguments or as a tuple of arguments: e.g.,
           And([a,b,c]) and And(a,b,c)
        are both valid, and they are converted into a tuple (a,b,c)
Helper function to return a tuple of arguments from args.
Helper function to return a tuple of arguments from args .
def _polymorph_args_to_tuple(self, args):
        """ Helper function to return a tuple of arguments from args.

        This function is used to allow N-ary operators to express their arguments
        both as a list of arguments or as a tuple of arguments: e.g.,
           And([a,b,c]) and And(a,b,c)
        are both valid, and they are converted into a tuple (a,b,c) """

        if len(args) == 1 and isinstance(args[0], Iterable):
            args = args[0]
        return tuple(args)
def _polymorph_args_to_tuple ( self , args ) : if len ( args ) == 1 and isinstance ( args [ 0 ] , Iterable ) : args = args [ 0 ] return tuple ( args )