parameters: (x)
docstring: Extracts iterables given in varargs
docstring_summary: Extracts iterables given in varargs
docstring_tokens: Extracts iterables given in varargs
function: def _ensure_iterable(x):
      """Extracts iterables given in varargs"""
      if isinstance(x[0], Iterable):
          if len(x) > 1:
              raise TypeError("Either Iterable or variable argument list expected")
          return x[0]
      else:
          return x
function_tokens: def _ensure_iterable ( x ) : if isinstance ( x [ 0 ] , Iterable ) : if len ( x ) > 1 : raise TypeError ( "Either Iterable or variable argument list expected" ) return x [ 0 ] else : return x