On 1/29/2009 4:41 PM Robert Kern apparently wrote:
It allows (ab)uses like numpy.mgrid:

 >>> mgrid[0:10:11j]
array([  0.,   1.,   2.,   3.,   4.,   5.,   6.,   7.,   8.,   9.,  10.])


Ah of course.
Obvious now, but I had presumed some deeper magic in
that syntax, not recognizing that a legitimate slice object
was being created.

Thanks!
Alan

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to