Standard behaviour of a getSomething method
Jp Calderone
exarkun at intarweb.us
Thu Jul 24 21:08:11 EDT 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').
Jp
--
"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: <http://mail.python.org/pipermail/python-list/attachments/20030724/cf825976/attachment.sig>
More information about the Python-list
mailing list