11 May
2018
11 May
'18
11:21 a.m.
On 11 May 2018 at 07:15, Nick Coghlan
* *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):
def _genexp(_outermost_iter): for x in _outermost_iter: yield x
_result = _genexp(_outermost_iter)
Typo here: the call argument should be "data", not a repeat of the parameter name, Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia