2 Sep 2006 03:06
Re: fancy indexing and +=
A. M. Archibald <peridot.faceted <at> gmail.com>
2006-09-02 01:06:27 GMT
2006-09-02 01:06:27 GMT
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
RSS Feed