On Oct 2, 3:50 pm, Mel <[EMAIL PROTECTED]> wrote:
> rs387 wrote:
> > I see. Do you know whether this is seen as a problem with the language
> > design?
>
> No.

OK, I get it now. I was assuming that the "+" could be implemented in
terms of "+=" as follows:

def add(x,y):
    temp = list(x)
    temp += y
    return temp

But it turns out that this is not what "+" means at all. A bit of a
gotcha...

Roman

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to