Ok thx i think i understand it now

>>> class C:
...     @staticmethod
...     def fn():
...         return 'whohoo'
...
>>> C.fn()
'whohoo'
>>>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to