working with pointers

Leif K-Brooks eurleif at ecritters.biz
Tue May 31 15:11:08 EDT 2005


Michael wrote:
> a=2
> b=a
> b=0


That's more or less equivalent to this C++ code:

int *a;
int *b;
a = new int;
*a = 2;
b = a;
b = new int;
*b = 0;



More information about the Python-list mailing list