blob: edec94a609eaaf43c3c01a8dc74ba7012887cad2 [file] [log] [blame]
def bar(found_new, xs_new):
for x in xs_new:
yield x
found_new = True
return found_new
def f(xs):
found = False
found = yield from bar(found, xs)
print(found)