Class definition attribute order
musiccomposition at gmail.com
Sat Aug 2 04:47:42 CEST 2008
On Aug 1, 6:23 pm, Andrew Lentvorski <bs... at allcaps.org> 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
More information about the Python-list