Python IRC dictatorship

Skip Montanaro skip at pobox.com
Sat Nov 23 12:23:29 EST 2002


    John>   x = []
    John>   y = []
    John>   x.append(1)
    John>   print y

I'm sure John meant

    x = []
    y = x
    x.append(1)
    print y

;-)

Skip




More information about the Python-list mailing list