[Numpy-discussion] matrix indexing question

Alan Isaac aisaac@american....
Tue Mar 27 18:18:56 CDT 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