ssecorp wrote: >>>> h = "aja baja" >>>> h += 'e' >>>> h > 'aja bajae' >>>>
The inplace-add operator doesn't mutate the lvalue, it just rebinds it: >>> a = b = "foo" >>> id(a) 47643036142016 >>> a += "bar" >>> id(a), a (47643036142064, 'foobar') >>> id(b), b (47643036142016, 'foo') Peter -- http://mail.python.org/mailman/listinfo/python-list