Re: scared about refrences...
- From: Gabriel Genellina <gagsl-py@xxxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 22:23:03 -0300
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
.
- References:
- scared about refrences...
- From: SpreadTooThin
- Re: scared about refrences...
- From: Nick Vatamaniuc
- scared about refrences...
- Prev by Date: Re: enumerate improvement proposal
- Next by Date: Re: Python windows interactive.
- Previous by thread: Re: scared about refrences...
- Next by thread: wxPython TextCtrl - weird scrolling behavior
- Index(es):
Relevant Pages
|