On Tue, 27 Mar 2007, Fernando Perez wrote: > it's probably worth mentioning, as a data point, that the > python language has a well established precedent for > 'iteration over a FOO where a FOO is yielded': > In [1]: s='abc'
Yes. And I recall being bitten by this long ago. Now it feels natural enough, I confess. But then, on reflection, it is an oddity. ;-) Cheers, Alan Isaac _______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion