python list handling and Lisp list handling

Mark Tarver dr.mtarver at ukonline.co.uk
Sat Apr 25 09:14:33 CEST 2009


What is different is the concept of "all globals that
> reference G".  For example:
>
> >>> a = [1, 2, 3]
> >>> b = a
> >>> a[0] = 0
> >>> print b
>
> [0, 2, 3]

I see that Python had an id too ;).

Mark



More information about the Python-list mailing list