scared about refrences...

Gabriel Genellina gagsl-py at yahoo.com.ar
Mon Oct 30 20:23:03 EST 2006


At Monday 30/10/2006 20:37, Nick Vatamaniuc wrote:

>In  Python all the primitives are copied and all other entities are
>references.

What do you mean?
primitives==builtin classes?
entities==objects?
In Python, objects are never automatically copied, either builtin or 
user-defined. Even 123 is an object. Names provide references to objects.
Perhaps you were thinking of *another* language.


-- 
Gabriel Genellina
Softlab SRL 

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar



More information about the Python-list mailing list