1
# pylint: disable-msg=R0903
2
"""test staticmethod and classmethod as decorator"""
6
class StaticMethod1(object):
7
"""staticmethod test"""
16
def do_work_with_arg(job):
17
"Working on something"
18
print "Working on %s..." % job
21
class ClassMethod2(object):
22
"""classmethod test"""
31
def do_work_with_arg(cls, job):
32
"Working on something"
33
print "Working on %s..." % job