In [1]:
from __future__ import print_function
class C(object):
@staticmethod
def f(*args):
print('f', repr(args))
def g(*args):
print('g', repr(args))
In [2]:
C.f('hello', 'world')
C.g('whirled', 'peas')
In [3]:
c = C()
c.f('hello', 'world')
c.g('whirled', 'peas')