Iterating over the cells of an array?

Alex Martelli aleax at aleax.it
Sun May 12 14:55:26 EDT 2002


Fernando Pérez wrote:
        ...
> <posted & mailed>

(haven't received any of your mails, btw -- must be some blockage...?)

> to this point. It looks like ravel does 'the right thing': .flat if
> possible, and if not it returns a contiguous copy.

Yep, although I don't think it's clearly documented to behave this way.


Alex




More information about the Python-list mailing list