Finding the instance reference of an object

greg greg at cosc.canterbury.ac.nz
Fri Nov 7 23:12:00 EST 2008


Steven D'Aprano wrote:
> Python's behaviour is not the same as what 
> Pascal, or C, calls call-by-value.

Python's assignment is not the same as what Pascal or C calls
assignment, either. Yet we don't hear anyone claim that the
term "assignment" shouldn't be used in Python.

The difference between call-by-value in Python and Pascal is
exactly the same difference as there is between assignment
in Python and Pascal. Why should we throw out one term but
not the other?

-- 
Greg



More information about the Python-list mailing list