[Numpy-discussion] matrix indexing question

Alan Isaac aisaac at american.edu
Tue Mar 27 19:18:56 EDT 2007


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







More information about the NumPy-Discussion mailing list