@@ -0,0 +1,263 @@
+#!/usr/bin/env python%0A# coding: utf-8%0A%0Adef hello(fn):%0A    def wrapper():%0A        print %22hello, %25s%22 %25 fn.__name__%0A        fn()%0A        print %22goodby, %25s%22 %25 fn.__name__%0A    return wrapper%0A%0A#@hello%0Adef foo():%0A    print %22I am foo%22%0A%0A# %E4%B8%8E%E4%B8%8A%E9%9D%A2%E8%A3%85%E9%A5%B0%E5%87%BD%E6%95%B0%E7%AD%89%E4%BB%B7%0Afoo = hello(foo)%0A%0Afoo()

add test_decorator