Re: staticmethod behaviour

2010-08-25 Thread Samu
On Aug 25, 4:32 pm, Peter Otten <__pete...@web.de> wrote: > Samu wrote: > > the concept sticks. But why does it have a different behaviour the > > staticmethod with the "rights3" case then? > > Moving from staticmethod to standalone function doesn't affect the output. > You have inadvertently chang

Re: staticmethod behaviour

2010-08-25 Thread Peter Otten
Samu wrote: > the concept sticks. But why does it have a different behaviour the > staticmethod with the "rights3" case then? Moving from staticmethod to standalone function doesn't affect the output. You have inadvertently changed something else. Peter -- http://mail.python.org/mailman/listin

Re: staticmethod behaviour

2010-08-25 Thread Samu
On Aug 25, 3:26 pm, Peter Otten <__pete...@web.de> wrote: > Samu wrote: > > Hi, > > > I run today into some problems with my code and I realized that there > > is something in the behaviours of the @staticmethod that I don't > > really understand. I don't know if it is an error or not, actually, >

Re: staticmethod behaviour

2010-08-25 Thread Peter Otten
Samu wrote: > Hi, > > I run today into some problems with my code and I realized that there > is something in the behaviours of the @staticmethod that I don't > really understand. I don't know if it is an error or not, actually, > only that it was, definitely, unexpected. > > I wrote a small dem

Re: staticmethod behaviour

2010-08-25 Thread Samu
On Aug 25, 3:03 pm, Samu wrote: > Hi, > > I run today into some problems with my code and I realized that there > is something in the behaviours of the @staticmethod that I don't > really understand. I don't know if it is an error or not, actually, > only that it was, definitely, unexpected. > > I