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.
--
Pauli Virtanen
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion