isn't that cool?

my 1-dimensional vanilla Python implementation was:

lambda v: [i for i,e in enumerate(v) if e != 0]

best regards
--
Valery A.Khamenya
_______________________________________________
pypy-dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to