Converting “yield from” statement to Python 2.7 code
If you don’t use the results of your yields,* you can always turn this: yield from foo … into this: for bar in foo: yield bar There might be a performance cost,** but there is never a semantic difference. Are the entries from the two halves (upper and lower) appended to each other in one … Read more