[EMAIL PROTECTED] wrote:
>
> However, Python doesn't support pointers

As I understand it, every name in Python is a pointer.

class Gazelle(object):
    def __init__(self):
        self.x = 0

g_list =[]
for x in range(10):
    g_list.append(Gazelle())

for g in g_list:
    g.x = 10

print g_list[2].x

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to