Pass by reference ?
jmg at ecs.soton.ac.uk
Mon Apr 3 05:30:49 EDT 2000
I'm just trying to familiarize myself with Python.
In Magnus Lie Hatland's Instant Python, he
mentions that `all parameters in Python are passed
So I tried the following code:
x = x + 1
a = 0
Given my understanding of passing by reference,
the last number should be 1.
What am I missing ?
More information about the Python-list