John Salerno wrote: > L.append(L) basically creates this, I think: > > [1, 2, L] > > Now, assuming that's correct, and since L points to the list [1, 2]
L points to [1, 2, L] </F> -- http://mail.python.org/mailman/listinfo/python-list
John Salerno wrote: > L.append(L) basically creates this, I think: > > [1, 2, L] > > Now, assuming that's correct, and since L points to the list [1, 2]
L points to [1, 2, L] </F> -- http://mail.python.org/mailman/listinfo/python-list