On Nov 28, 1:09 am, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Tue, 27 Nov 2007 10:21:36 -0800, hdante wrote:
> > Python variables are pointers and that's it.
>
> How do I increment a Python variable so that it points to the next
> address, like I can do with pointers in C, Pascal, and other languages?
>
> --
> Steven.

 You can't. Python variables still are pointers. Hint:

 int * const x = &y;

 How do I increment x ?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to