[Numpy-discussion] How is NumPy implemented?

Fernando Perez fperez.net at gmail.com
Thu Jun 28 16:33:21 EDT 2007

On 6/28/07, Geoffrey Zhu <gzhu at peak6.com> wrote:
> Hi All,
> I am curious how numpy is implemented. Syntax such as x[10::-2] is
> completely foreign to Python. How does numpy get Python to support it?

Completely foreign to Python?

In [1]: x="Geoffrey Zhu"

In [2]: x[10::-2]
Out[2]: 'h efoG'

Extended slicing has been part of the language for many years now.



More information about the NumPy-Discussion mailing list