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

Neal Becker ndbecker2 at gmail.com
Thu Sep 11 10:56:02 EDT 2014


https://github.com/numpy/numpy/issues/5064

Eelco Hoogendoorn wrote:

> 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
>>
-- 
-- Those who don't understand recursion are doomed to repeat it




More information about the NumPy-Discussion mailing list