def parse(text, **options):
    """
    Parses a string with the given options.

    :param text: The string to parse.
    :type text: str

    :rtype: Parsed
    """
    _options = copy.copy(DEFAULT_OPTIONS)
    _options.update(options)

    return _normalize(_parse(text, **_options), **_options)
def parse ( text , ** options ) : _options = copy . copy ( DEFAULT_OPTIONS ) _options . update ( options ) return _normalize ( _parse ( text , ** _options ) , ** _options )
Parses a string with the given options.

    :param text: The string to parse.
    :type text: str

    :rtype: Parsed