parameters: (v)
return_statement: return v
docstring: Convert a value (list, string or None) into a list.
docstring_summary: Convert a value (list, string or None) into a list.
docstring_tokens: Convert a value ( list string or None ) into a list .
function: def _list(v):
      """Convert a value (list, string or None) into a list."""
      if v is None:
          return []
      elif hasattr(v,'lower'):
          return [v]
      assert(isinstance(v, list))
      return v
function_tokens: def _list ( v ) : if v is None : return [ ] elif hasattr ( v , 'lower' ) : return [ v ] assert ( isinstance ( v , list ) ) return v