[NumPy-Tickets] [NumPy] #1218: numpy.array2string ignores "style" kwarg

NumPy Trac numpy-tickets@scipy....
Tue Mar 29 11:41:08 CDT 2011


#1218: numpy.array2string ignores "style" kwarg
-------------------------------+--------------------------------------------
  Reporter:  AndreasKloeckner  |       Owner:  somebody   
      Type:  defect            |      Status:  reopened   
  Priority:  normal            |   Milestone:  Unscheduled
 Component:  numpy.core        |     Version:  devel      
Resolution:                    |    Keywords:             
-------------------------------+--------------------------------------------

Comment(by rgommers):

 It is documented. To be precise, it was documented in trunk in March 2009.

 If it would apply to all arrays there is even less of a point to it than
 now, reading the code it was only intended for handling a 0-D corner case.
 All it does is:
 {{{
 lst = style(x)
 return lst
 }}}

 So using it is writing your own little, broken array formatter.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1218#comment:4>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list