Dennis Lee Bieber wrote: > On Tue, 09 Aug 2005 10:39:29 -0500, Rocco Moretti > <[EMAIL PROTECTED]> declaimed the following in comp.lang.python: > > >>Change it to "the object referenced by y is assigned to the name of x", >>and you're closer to the truth. > > In a more simplistic view, I'd reverse the phrasing... The name > "x" is assigned to the object "y" (implying it is no longer attached to > whatever used to have the name)
I guess I was too subtle - my point was lost. The key thing is not to think of "the object 'y'" but to think of "the object referenced by (named) 'y'" There is a distinction between the object (object) and the name (variable), which is essential to eliminating the OP's conundrum. -- http://mail.python.org/mailman/listinfo/python-list