Standard behaviour of a getSomething method

Jp Calderone exarkun at
Fri Jul 25 03:08:11 CEST 2003

On Thu, Jul 24, 2003 at 02:56:24PM -0700, Mike Rovner wrote:
> Batista, Facundo wrote:
> [snip]
> Usualy statement
>    x=y
> 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
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <>

More information about the Python-list mailing list