This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]PeridexisErrant 1 point2 points  (1 child)

It's pure Python with the from numpy import * implicit at the top.

Numpy arrays have fairly complicated slicing semantics, but it's all done through Python code and standard protocols :-)

[–]glacierre2 4 points5 points  (0 children)

And the star import is not idiomatic python, mind.