On Aug 1, 6:23 pm, Andrew Lentvorski <[EMAIL PROTECTED]> wrote: > How do I determine the order of definition of class attributes? > > For example, if I have a class > > class Test(object): > y = 11 > x = 22 > > How do I tell that y was defined before x?
You wait until Python 3.0 where you can do this sort of thing with metaclasses. > > Thanks, > -a -- http://mail.python.org/mailman/listinfo/python-list