code: def PyParseJoinList(string, location, tokens):
    
    join_list = []
    for token in tokens:
      try:
        join_list.append(str(token))
      except UnicodeDecodeError:
        join_list.append(repr(token))
  
    tokens[0] = ''.join(join_list)
    del tokens[1:]
docs: Return a joined token from a list of tokens.
  
    This is a callback method for pyparsing setParseAction that modifies
    the returned token list to join all the elements in the list to a single
    token.
  
    Args:
      string (str): original string.
      location (int): location in the string where the match was made.
      tokens (list[str]): extracted tokens, where the string to be converted
          is stored.