Thomas Dybdahl Ahle a écrit :
> On Wed, 2008-03-26 at 23:04 +0100, Michał Bentkowski wrote:
>> Why does python create a reference here, not just copy the variable?
> 
> Python, like most other oo languages, will always make references for =,
> unless you work on native types (numbers and strings).
> 
There's nothing like a "native type" in Python, and numbers and strings 
are ordinary objects. Python will always use references, period.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to