Python: added snippets for classmethod and staticmethod