[SciPy-user] fancy indexing and +=
A. M. Archibald
peridot.faceted at gmail.com
Fri Sep 1 21:06:27 EDT 2006
On 01/09/06, Robert Kern <robert.kern at gmail.com> wrote:
> Nor should we. According to the reference manual, augmented assignment methods
> should be implemented such that
>
> x += y
>
> is nearly equivalent to
>
> x = x + y
>
> with the exception of possible in-place modification of x.
One could argue that what I was asking for is the appropriate notion
of "in-place modification" in this context, but that's a technicality.
I suppose either version will be surprising to somebody. Thanks for
your prompt reply.
A.M. Archibald
More information about the SciPy-User
mailing list