#NEWLINE# def header( table ) : #NEWLINE# #INDENT# "\n    Return the header row for the given table. E.g.::\n\n        >>> import petl as etl\n        >>> table = [['foo', 'bar'], ['a', 1], ['b', 2]]\n        >>> etl.header(table)\n        ('foo', 'bar')\n\n    Note that the header row will always be returned as a tuple, regardless\n    of what the underlying data are.\n\n    " #NEWLINE# it = iter ( it ) #NEWLINE# return tuple ( next ( it ) )