Class definition attribute order

Andrew Lentvorski bsder at
Sat Aug 2 01:23:02 CEST 2008

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?


More information about the Python-list mailing list