def METHOD_NAME(obj):
    """Returns a TIME column as a time object:
      >>> time_or_None('15:06:17')
      datetime.time(15, 6, 17)
    Illegal values are returned DataError:
    """
    if isinstance(obj, (bytes, bytearray)):
        obj = obj.decode('ascii')
    try:
        time_obj = datetime.datetime.strptime(obj, '%H:%M:%S')
        return time_obj.time()
    except Exception:
        return convert_timedelta(obj)