<div class="gmail_quote">On Mon, Oct 15, 2012 at 5:32 PM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

My preferred way of thinking of "yield from" is as a simple<br>
refactoring tool: "Gee, this generator is getting kind of long and<br>
unwieldy. I'll move this piece out into a separate generator, and use<br>
yield from to invoke it" or "Hmm, I keep using this same sequence of 3<br>
or 4 operations. I guess I'll move them out to a separate generator<br>
and use yield from to invoke it in the appropriate places".<br></blockquote><div class="im HOEnZb"><br>I agree. That's how I've used it. Maybe that's just short-sightedness.<br clear="all"></div></div><br>

-- <br>cheers<div>lvh</div><br>