On Wed, Apr 21, 2010 at 7:59 AM, Alan Harris-Reid <
aharrisr...@googlemail.com> wrote:

> The code is not usually in class.__init__ (otherwise I would have used the
> self. prefix)


Alan, if your variables are not usually in __init__, what's preventing you
from using class variables like this:

>>> class Test():
...     something = 1
...     more = 2
...
>>> Test.more
2

What's your use case?

Cheers,
Xav
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to