Standard behaviour of a getSomething method
exarkun at intarweb.us
Fri Jul 25 03:08:11 CEST 2003
On Thu, Jul 24, 2003 at 02:56:24PM -0700, Mike Rovner wrote:
> Batista, Facundo wrote:
> Usualy statement
> creates a new object y referencing to old object y.
Neither `x' nor `y' above are objects. Hence, the statement does not
create a new object.
What it does do is create a new binding (`x') to an object which already
exist (referenced by `y').
"Pascal is Pascal is Pascal is dog meat."
-- M. Devine and P. Larson, Computer Science 340
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
More information about the Python-list