<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 11 May 2018 at 07:15, 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"><div dir="ltr"><div><div><div><div><div><div><div><div class="gmail_extra">* *maybe* discover that even the above expansion isn't quite accurate, and that the underlying semantic equivalent is actually this (one way to discover this by accident is to have a name error in the outermost iterable expression):<br><div class="gmail_extra"><br></div><div class="gmail_extra"> def _genexp(_outermost_iter):<br></div><div class="gmail_extra"> for x in _outermost_iter:<br></div><div class="gmail_extra"> yield x<br><br></div><div class="gmail_extra"> _result = _genexp(_outermost_iter)<br></div></div></div></div></div></div></div></div></div></div></blockquote><div><br></div><div>Typo here: the call argument should be "data", not a repeat of the parameter name,<br><br></div><div>Cheers,<br></div><div>Nick.<br></div><div><br></div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Nick Coghlan | <a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@gmail.com</a> | Brisbane, Australia</div>
</div></div>