[NumPy-Tickets] [NumPy] #1659: docstring for 'spacing' has a mistake.

NumPy Trac numpy-tickets@scipy....
Tue Nov 2 15:22:01 CDT 2010


#1659: docstring for 'spacing' has a mistake.
------------------------------+---------------------------------------------
 Reporter:  warren.weckesser  |       Owner:  somebody
     Type:  defect            |      Status:  new     
 Priority:  low               |   Milestone:  2.0.0   
Component:  numpy.core        |     Version:  1.5.0   
 Keywords:  spacing           |  
------------------------------+---------------------------------------------
 The example in the docstring for the 'spacing' function has a mistake; the
 line
 {{{
     >>> np.spacing(1, 2) == np.finfo(np.float64).eps
 }}}
 should be
 {{{
     >>> np.spacing(1) == np.finfo(np.float64).eps
 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1659>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list