parameters: (value_or_values)
return_statement: return [value_or_values]
docstring: Leave lists untouched, convert non-list types to a singleton list
docstring_summary: Leave lists untouched, convert non-list types to a singleton list
docstring_tokens: Leave lists untouched convert non - list types to a singleton list
function: def as_list(value_or_values):
      """Leave lists untouched, convert non-list types to a singleton list"""
      if isinstance(value_or_values, list):
          return value_or_values
      return [value_or_values]
function_tokens: def as_list ( value_or_values ) : if isinstance ( value_or_values , list ) : return value_or_values return [ value_or_values ]