"Daniel Gee" <[EMAIL PROTECTED]> schreef in bericht 
news:[EMAIL PROTECTED]

> class Foo:
>  def statAdd(self,a):
>    return a+5
>
> or do you drop the 'self' bit and just use a 1 variable parameter list?

class Foo:
 @staticmethod
 def statAdd(a):
   return a+5

HTH

Herman

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to