def returnFreeVariableValues(self, locals, importFunction):
        """Return arguments for the free variables in expression.

        importFunction = a function to call with free symbols that aren't in
            locals to look them up
        """
        boundVariables = []

        for freeVariable in self.freeVariables:
            if locals in freeVariable:
                boundVariables += [locals[freeVariable]]
            else:
                binding = importFunction(freeVariable)

                if binding is None:
                    raise ParseException.ParseException(
                        ForaNative.FunctionParseError(
                            "Couldn't resolve free variable '%s'" % freeVariable,
                            self.freeVariableUsePoints(freeVariable)[0].range
                            ),
                        self.codeDefinitionPoint_
                        )
                else:
                    boundVariables += [binding]

        return boundVariables
dataset/ETHPy150Open ufora/ufora/ufora/FORA/python/Expression.py/Expression.returnFreeVariableValues/swapped operands of `in`