[Numpy-discussion] New array interface helper file

Travis Oliphant oliphant at ee.byu.edu
Wed Apr 6 22:13:04 CDT 2005


Robert Kern wrote:

> 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__
>
Thank you. 

-Travis






More information about the Numpy-discussion mailing list