>>946 Pythonは、class: の中は外と同じように for も if も del も関数定義も使えるんだ。
class Foo(object):
    def prehook(func):
        def _func(*args, **kwargs):
            print func.__name__
            return func(*args, **kwargs)
        return _func
    @prehook
    def bar(self, a):
        print a
    del prehook

foo = Foo()
foo.bar(5)