[Numpy-discussion] reshape docstrings conflicting
Charles R Harris
charlesr.harris at gmail.com
Sat Apr 26 14:24:28 EDT 2008
On Sat, Apr 26, 2008 at 11:29 AM, Pauli Virtanen <pav at iki.fi> wrote:
> Hi all,
>
> The ndarray.reshape docstring claims:
>
> "Also always returns a view or raises a ValueError if that is
> impossible."
>
> whereas fromnumeric.reshape claims:
>
> "This will be a new view object if possible; otherwise, it will
> be a copy."
>
> while the code paths for both functions are the same.
>
> So, which one of these is correct? Or, does ndarray.reshape always
> return a view? This is not immediately obvious looking at the code...
>
> I'll fix up the docstrings once I know.
>
Hi Pauli,
I noticed that you removed the ReST markup of the tables in sort
documentation. I think you should leave it in.
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080426/1b44d699/attachment.html>
More information about the NumPy-Discussion
mailing list