[NumPy-Tickets] [NumPy] #2248: numpy.dot() fails when using keyword argument "out".

NumPy Trac numpy-tickets@scipy....
Wed Nov 14 11:22:43 CST 2012


#2248: numpy.dot() fails when using keyword argument "out".
------------------------+---------------------------------------------------
 Reporter:  johntyree   |       Owner:  somebody   
     Type:  defect      |      Status:  new        
 Priority:  normal      |   Milestone:  Unscheduled
Component:  numpy.core  |     Version:  devel      
 Keywords:              |  
------------------------+---------------------------------------------------
 The dot function claims to take a keyword "out", but using it raises a
 TypeError.


 {{{
 >>> numpy.version.version
 '1.8.0.dev-75b8119
 }}}



 {{{
 dot(...)
     dot(a, b, out=None)
 }}}


 {{{
 >>> a = numpy.arange(10)
 >>> a.dot(a, out=a)
 Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
 TypeError: dot() takes no keyword arguments
 }}}

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


More information about the NumPy-Tickets mailing list