append on lists

Grant Edwards grante at
Tue Sep 16 15:57:53 CEST 2008

On 2008-09-16, Maric Michaud <maric at> wrote:

> all expressions that return something, return a new object,

That's not _quite_ true:

>>> a=1
>>> b=a.__add__(0)
>>> a is b


Grant Edwards                   grante             Yow! LOOK!!  Sullen
                                  at               American teens wearing
                                 MADRAS shorts and "Flock of
                                                   Seagulls" HAIRCUTS!

More information about the Python-list mailing list