src/pybel/tokens.py
def _parse_tokens_list(tokens) -> List[BaseEntity]:
    """Convert a PyParsing result to a reaction.

    :type tokens: ParseResult
    """
    return [
        parse_result_to_dsl(token)
        for token in tokens
    ]
Convert a PyParsing result to a reaction.

    :type tokens: ParseResult
    
Convert a PyParsing result to a reaction.
Convert a PyParsing result to a reaction .
def _parse_tokens_list(tokens) -> List[BaseEntity]:
    return [
        parse_result_to_dsl(token)
        for token in tokens
    ]
def _parse_tokens_list ( tokens ) -> List [ BaseEntity ] : return [ parse_result_to_dsl ( token ) for token in tokens ]
Convert a PyParsing result to a reaction.
Convert a PyParsing result to a reaction .
"""Convert a PyParsing result to a reaction.

    :type tokens: ParseResult
    """
tokens