@noKwargs
@noArgsFlattening
def func_environment(self, node, args, kwargs):
    if (len(args) > 1):
        raise InterpreterException('environment takes only one optional positional arguments')
    elif (len(args) == 1):
        FeatureNew('environment positional arguments', '0.52.0').use(self.subproject)
        initial_values = args[0]
        if ((not isinstance(initial_values, dict)) and (not isinstance(initial_values, list))):
            raise InterpreterException('environment first argument must be a dictionary or a list')
    else:
        initial_values = {}
    return EnvironmentVariablesHolder(initial_values)
@noKwargs
@noArgsFlattening
def func_environment(self, node, args, kwargs):
    if (len(args) > 1):
        raise InterpreterException('environment takes only one optional positional arguments')
    elif (len(args) == 1):
        FeatureNew('environment positional arguments', '0.52.0').use(self.subproject)
        initial_values = args[0]
        if ((not isinstance(initial_values, dict)) and (not isinstance(initial_values, list))):
            raise InterpreterException('environment first argument must be a dictionary or a list')
    else:
        initial_values = {}
    return EnvironmentVariablesHolder(initial_values)