On Wed, Apr 21, 2010 at 7:59 AM, Alan Harris-Reid <span dir="ltr"><<a href="mailto:aharrisreid@googlemail.com">aharrisreid@googlemail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
The code is not usually in class.__init__ (otherwise I would have used the self. prefix)</blockquote><div><br>Alan, if your variables are not usually in __init__, what's preventing you from using class variables like this:<br>
<br>>>> class Test():<br>... something = 1<br>... more = 2<br>... <br>>>> Test.more<br>2<br><br>What's your use case?<br><br>Cheers,<br>Xav<br></div></div>