list vs tuple

Greg Ewing greg at cosc.canterbury.ac.nz
Mon Apr 2 22:03:40 EDT 2001


Carl Banks wrote:
> 
> I
> remember seeing a language that had different operators for reference
> and copy assignment, but I forget what is was.

Simula is one:

  a := b     # copy assignment
  a :- b     # reference assignment

-- 
Greg Ewing, Computer Science Dept, University of Canterbury,	  
Christchurch, New Zealand
To get my email address, please visit my web page:	  
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list