Talk:Python (programming language): Difference between revisions

Content deleted Content added
Fredrik (talk | contribs)
Line 287:
:print y
It's also a bit awkward to say that Python variables "contain" values. Python variables actually ''bind'' names to values which isn't the same thing. Looked at that way, you can see that after y = x, y and x are different names bound to the same value. Mutating the object bound to x will naturally affect the object bound to y -- it's the same object. That list isn't contained in two different places, it just has two different names.--[[User:Quale|Quale]] 21:01, 7 Mar 2005 (UTC)
 
:To me, saying that you're passing a value that is a reference just seems like an awkward way of saying that you're passing a reference. [[User:Fredrik|Fredrik]] | [[User talk:Fredrik|talk]] 07:58, 8 Mar 2005 (UTC)