[Numpy-discussion] classmethods for ndarray

Christopher Barker Chris.Barker@noaa....
Thu Feb 1 18:23:23 CST 2007


Travis Oliphant wrote:
> I'm thinking that we should have several.  For example all the fromXXX 
> functions should probably be classmethods
> 
> ndarray.frombuffer
> ndarray.fromfile

would they still be accessible in their functional form in the numpy 
namespace?

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker@noaa.gov


More information about the Numpy-discussion mailing list