parameters: (iterable)
docstring: Returns the first element from the given iterable.
docstring_summary: Returns the first element from the given iterable.
docstring_tokens: Returns the first element from the given iterable .
function: def first(iterable):
      """Returns the first element from the given iterable."""
      for item in iterable:
          return item
      raise ValueError("iterable is empty")
function_tokens: def first ( iterable ) : for item in iterable : return item raise ValueError ( "iterable is empty" )