python裝飾器(帶參數)

def test(select): ====def func2(func): ========def decorate(args): ============if select == 1: ============print 1 ============print args ============func(args) ============if select == 2: ===========
相關文章
相關標籤/搜索