(iso_string)
return datetime.datetime.strptime(iso_string, ISO_DATE_FORMAT).date()
parse a date string in iso format

    return a datetime.date
    >>> iso_string_to_date('2015-04-07')
    datetime.date(2015, 4, 7)
parse a date string in iso format
parse a date string in iso format
def iso_string_to_date(iso_string):
    """
    parse a date string in iso format

    return a datetime.date
    >>> iso_string_to_date('2015-04-07')
    datetime.date(2015, 4, 7)

    """
    return datetime.datetime.strptime(iso_string, ISO_DATE_FORMAT).date()
def iso_string_to_date ( iso_string ) : return datetime . datetime . strptime ( iso_string , ISO_DATE_FORMAT ) . date ( )