variable in Python

Aahz aahz at pythoncraft.com
Thu Apr 17 10:40:42 EDT 2003


In article <b7m3cq$r4k$1 at news-reader12.wanadoo.fr>,
Salvatore  <artyprog at wanadoo.fr> wrote:
>Salvatore wrote:
>> 
>> I have a little doubt concerning variables.
>> When one declare x = 3
>> does x contains the value 3 or
>> does x acts like pointer in C ?
> 
>I have the answer thanks:
>x is an implicit pointer

That's a good way of looking at it, but following that analogy too
closely can lead you into error.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?




More information about the Python-list mailing list