[Tutor] pointers in python
Fri, 07 Dec 2001 10:12:12 -0500
Python variables are pointers to the memory locations that hold the Python objects.
HOWEVER, there is no pointer arithmatic and you don't actually deal with those addresses.
The id function returns a value that is based upon the memory address. This lets you
see if two objects with the same content are actually the same object.
> hi all,
> i am newbie in python i am aware with C. How python handle Pointers. if U know please help.
> Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com
> Buy Music, Video, CD-ROM, Audio-Books and Music Accessories from http://www.planetm.co.in
> Tutor maillist - Tutor@python.org
1 Court Street, Suite 378
Lebanon, NH 03766-1358