On Thu, Aug 12, 2010 at 8:26 PM, Lutz Maibaum <lutz.maib...@gmail.com> wrote: > According to the docstring, ndarray.copy should accept a keyword argument > "order". This doesn't seem to work for me: > >>>> np.array([[1,2],[3,4]]).copy(order='C') > Traceback (most recent call last): > File "<stdin>", line 1, in <module> > TypeError: copy() takes no keyword arguments > > Calling ndarray.copy with a positional argument seems to work, but this > behavior seems inconsistent with the documentation and other occurrences of > the "order" keyword. Is this a bug, or am I misunderstanding the > documentation?
http://projects.scipy.org/numpy/ticket/1581 Kurt > > Thanks, > > Lutz > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion