pitfall for your amusement

Grant Edwards grante at visi.com
Tue Nov 12 17:14:43 EST 2002


In article <mailman.1037137605.20012.python-list at python.org>, Brian Quinlan wrote:

> I don't like the augmented operations because, depending on the object,
> the operation may or may not be done in-place. 
> 
> I think that it is better to be explicit and use assignment or method
> call. That way you know what you are getting.

If it matters which you get, then that's probably a good idea.

I use it quite a bit, and I don't think I don't remember a case
where it has mattered.

-- 
Grant Edwards                   grante             Yow!  I will establish
                                  at               the first SHOPPING MALL in
                               visi.com            NUTLEY, New Jersey...



More information about the Python-list mailing list