[Numpy-discussion] New array interface helper file
Robert Kern
rkern at ucsd.edu
Wed Apr 6 21:47:30 EDT 2005
Travis Oliphant wrote:
>
> At http://numeric.scipy.org/array_interface.py
>
> you will find the start of a set of helper functions for the array
> interface that can make it more easy to deal with. It also documents
> the array interface with docstrings. I tried to attach these to
> properties, but then I don't know how to "see" them from Python.
Get it from the property object on the class itself.
E.g.
expanded.__array_shape__.__doc__
--
Robert Kern
rkern at ucsd.edu
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
More information about the NumPy-Discussion
mailing list