[Numpy-discussion] why does u.resize return None?

Eelco Hoogendoorn hoogendoorn.eelco at gmail.com
Thu Sep 11 10:45:53 EDT 2014


agreed; I never saw the logic in returning none either.

On Thu, Sep 11, 2014 at 4:27 PM, Neal Becker <ndbecker2 at gmail.com> wrote:

> It would be useful if u.resize returned the new array, so it could be used
> for
> chaining operations
>
> --
> -- Those who don't understand recursion are doomed to repeat it
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20140911/be7b6b91/attachment.html>


More information about the NumPy-Discussion mailing list