def __init__(self, marker):
    try:
        self._markers = _coerce_parse_result(MARKER.parseString(marker))
    except ParseException as e:
        err_str = 'Invalid marker: {0!r}, parse error at {1!r}'.format(marker, marker[e.loc:(e.loc + 8)])
        raise InvalidMarker(err_str)
def __init__(self, marker):
    try:
        self._markers = _coerce_parse_result(MARKER.parseString(marker))
    except ParseException as e:
        err_str = 'Invalid marker: {0!r}, parse error at {1!r}'.format(marker, marker[e.loc:(e.loc + 8)])
        raise InvalidMarker(err_str)