1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
"""check for method without self as first argument """ __revision__ = 0 class Abcd(object): """dummy class""" def __init__(self): pass def abcd(yoo): """another test""" abcd = classmethod(abcd) def edf(self): """justo ne more method""" print 'yapudju in', self