Files
openide/python/testData/refactoring/extractmethod/YieldFrom33.before.py
2012-08-31 18:22:34 +04:00

8 lines
148 B
Python

def f(x, y):
yield 'foo'
return x, y
def g(in1, in2):
out1, out2 = <selection>yield from f(in1, in2)</selection>
print(out1, out2)