Re: question about class methods

2007-03-14 Thread Gabriel Genellina
En Wed, 14 Mar 2007 18:04:00 -0300, Darren Dale <[EMAIL PROTECTED]> escribió: > I've run across some code in a class method that I don't understand: > > def example(self, val=0) > if val and not self: > if self._exp < 0 and self._exp >= -6: 0) "Normal" methods are not cl

Re: question about class methods

2007-03-14 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, Darren Dale wrote: > I've run across some code in a class method that I don't understand: > > def example(self, val=0) > if val and not self: > if self._exp < 0 and self._exp >= -6: > > I am unfamiliar with some concepts here: > > 1) Under what ci