def set_quoted_method(self, args, kwargs):
    (name, val, desc) = self.validate_args(args, kwargs)
    if (not isinstance(val, str)):
        raise InterpreterException('Second argument to set_quoted must be a string.')
    escaped_val = '\\"'.join(val.split('"'))
    self.held_object.values[name] = ((('"' + escaped_val) + '"'), desc)
def set_quoted_method(self, args, kwargs):
    (name, val, desc) = self.validate_args(args, kwargs)
    if (not isinstance(val, str)):
        raise InterpreterException('Second argument to set_quoted must be a string.')
    escaped_val = '\\"'.join(val.split('"'))
    self.held_object.values[name] = ((('"' + escaped_val) + '"'), desc)