photutils/extern/nddata_compat.py
def extract_array(*args, **kwargs):
    """
    Wrapper for astropy.nddata.utils.extract_array that reproduces v1.1
    behavior even if an older Astropy is installed.
    """

    from astropy.nddata.utils import extract_array

    # fill_value keyword is not in v1.0.x
    if 'fill_value' in inspect.getargspec(extract_array)[0]:
        return extract_array(*args, **kwargs)
    else:
        return _extract_array_astropy1p1(*args, **kwargs)

    Wrapper for astropy.nddata.utils.extract_array that reproduces v1.1
    behavior even if an older Astropy is installed.
    
Wrapper for astropy.nddata.utils.extract_array that reproduces v1.1
behavior even if an older Astropy is installed.
Wrapper for astropy . nddata . utils . extract_array that reproduces v1 . 1 behavior even if an older Astropy is installed .
def extract_array(*args, **kwargs):
    from astropy.nddata.utils import extract_array
    if 'fill_value' in inspect.getargspec(extract_array)[0]:
        return extract_array(*args, **kwargs)
    else:
        return _extract_array_astropy1p1(*args, **kwargs)
def extract_array ( * args , ** kwargs ) : from astropy . nddata . utils import extract_array if 'fill_value' in inspect . getargspec ( extract_array ) [ 0 ] : return extract_array ( * args , ** kwargs ) else : return _extract_array_astropy1p1 ( * args , ** kwargs )
Wrapper for astropy.nddata.utils.extract_array that reproduces v1.1
behavior even if an older Astropy is installed.
Wrapper for astropy . nddata . utils . extract_array that reproduces v1 . 1 behavior even if an older Astropy is installed .
"""
    Wrapper for astropy.nddata.utils.extract_array that reproduces v1.1
    behavior even if an older Astropy is installed.
    """ # fill_value keyword is not in v1.0.x