def simple_call(f, args):
    """
    Shows how a coroutine can be called.
    """
    runtime = coroutine_runtime()
    runtime.call(f, args)
    while runtime.more():
        run_threads(runtime)

    Shows how a coroutine can be called.
    
recipes/Python/498270_Yielding_out_nested_routines_metaclass/recipe-498270.py