scared about refrences...
bjobrien62 at gmail.com
Wed Nov 1 21:20:36 CET 2006
Bruno Desthuilliers wrote:
> Nick Vatamaniuc a écrit :
> > In Python all the primitives are copied and all other entities are
> > references.
> Plain wrong. There's no "primitives" (ie : primitive data types) in
> Python, only objects. And they all get passed the same way.
x = x + 1
a = 2
Wouldn't you say that this is being passed by value rather than by
More information about the Python-list