def store_parser_result(package_dirpath, parser_result, tag):
 copy = copy_parser_result(parser_result)
 sto_filepath = path.join(package_dirpath, PARSER_RESULT_STORE)
 sto = shelve_open(sto_filepath)
 sto[tag] = copy
 sto.close()

def store_parser_result ( package_dirpath , parser_result , tag ) : copy = copy_parser_result ( parser_result ) sto_filepath = path . join ( package_dirpath , PARSER_RESULT_STORE ) sto = shelve_open ( sto_filepath ) sto [ tag ] = copy sto . close ( )
persist parser result to specified scenario package .