def main(get_terms):
    adder = adder_coro()
    for term in get_terms:
        adder.send(term)
    try:
        adder.send(None)
    except __HOLE__ as exc:
        result = exc.value
    print(result)
dataset/ETHPy150Open fluentpython/example-code/attic/control/adder/coroadder_deco.py/main