[Numpy-discussion] buggy buggy bugyy: format and casting ==> BUG in numpy.sum?

Christopher Barker Chris.Barker at noaa.gov
Mon Sep 18 12:08:48 CDT 2006


Sven Schreiber wrote:
> on my 1.0b5 I also see this docstring which indeed seems obsolete.

I get this docs string from :

 >>> import numpy as N
 >>> N.__version__
'1.0b5'
 >>> a = N.arange(10)
 >>> help( a.sum)

"""
sum(...)
     a.sum(axis=None, dtype=None) -> Sum of array over given axis.

     Sum the array over the given axis.  If the axis is None, sum over
     all dimensions of the array.

"""

that looks right to me.

-Chris

-- 
Christopher Barker, Ph.D.
Oceanographer
                                     		
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the Numpy-discussion mailing list