python 装饰器 第一步:基本函数

# 第一步:基本函数
def eat():
    print('吃饭')
# 调用
eat()

 

posted @ 2017-12-10 22:44  Bob__Zhang  阅读(182)  评论(0编辑  收藏  举报