def _check_start_stop(raw, start, stop):
 return [(c if (isinstance(c, int) or (c is None)) else raw.time_as_index(c)[0]) for c in (start, stop)]

def _check_start_stop ( raw , start , stop ) : return [ ( c if ( isinstance ( c , int ) or ( c is None ) ) else raw . time_as_index ( c ) [ 0 ] ) for c in ( start , stop ) ]
aux function .