@noKwargs
@noArgsFlattening
def func_get_variable(self, node, args, kwargs):
    if ((len(args) < 1) or (len(args) > 2)):
        raise InvalidCode('Get_variable takes one or two arguments.')
    varname = args[0]
    if isinstance(varname, Disabler):
        return varname
    if (not isinstance(varname, str)):
        raise InterpreterException('First argument must be a string.')
    try:
        return self.variables[varname]
    except KeyError:
        pass
    if (len(args) == 2):
        return args[1]
    raise InterpreterException(('Tried to get unknown variable "%s".' % varname))
@noKwargs
@noArgsFlattening
def func_get_variable(self, node, args, kwargs):
    if ((len(args) < 1) or (len(args) > 2)):
        raise InvalidCode('Get_variable takes one or two arguments.')
    varname = args[0]
    if isinstance(varname, Disabler):
        return varname
    if (not isinstance(varname, str)):
        raise InterpreterException('First argument must be a string.')
    try:
        return self.variables[varname]
    except KeyError:
        pass
    if (len(args) == 2):
        return args[1]
    raise InterpreterException(('Tried to get unknown variable "%s".' % varname))