photutils/aperture/mask_data.py
def _reformat_extents(extents):
    """
    Reformat extents from xmin list, xmax list, ymin list and ymax list to
    a list of (xmin, xmax, ymin, ymax) for each object.
    """

    obj_group_extents = []
    for xmin, xmax, ymin, ymax in zip(extents[0], extents[1], extents[2],
                                      extents[3]):
        obj_group_extents.append((xmin, xmax, ymin, ymax))
    return obj_group_extents

    Reformat extents from xmin list, xmax list, ymin list and ymax list to
    a list of (xmin, xmax, ymin, ymax) for each object.
    
Reformat extents from xmin list, xmax list, ymin list and ymax list to
a list of (xmin, xmax, ymin, ymax) for each object.
Reformat extents from xmin list xmax list ymin list and ymax list to a list of ( xmin xmax ymin ymax ) for each object .
def _reformat_extents(extents):
    obj_group_extents = []
    for xmin, xmax, ymin, ymax in zip(extents[0], extents[1], extents[2],
                                      extents[3]):
        obj_group_extents.append((xmin, xmax, ymin, ymax))
    return obj_group_extents
def _reformat_extents ( extents ) : obj_group_extents = [ ] for xmin , xmax , ymin , ymax in zip ( extents [ 0 ] , extents [ 1 ] , extents [ 2 ] , extents [ 3 ] ) : obj_group_extents . append ( ( xmin , xmax , ymin , ymax ) ) return obj_group_extents
Reformat extents from xmin list, xmax list, ymin list and ymax list to
a list of (xmin, xmax, ymin, ymax) for each object.
Reformat extents from xmin list xmax list ymin list and ymax list to a list of ( xmin xmax ymin ymax ) for each object .
"""
    Reformat extents from xmin list, xmax list, ymin list and ymax list to
    a list of (xmin, xmax, ymin, ymax) for each object.
    """
extents