http://stackoverflow.com/questions/739654/understanding-python-decorators
用装饰器生成HTML代码,例如:
@makebold@makeitalicdef say(): return "Hello"
生成:<b><i>Hello</i></b>
转载于:https://www.cnblogs.com/tuzkee/archive/2013/01/25/2876250.html