Skip to content

Commit 0d9395b

Browse files
author
tuntun
committed
Python装饰器
1 parent b2adfa2 commit 0d9395b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

decorator.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ def now():
1818
D:\learn-python>python decorator.py
1919
hi,now is:
2020
2015-12-9
21+
22+
关于装饰器的具体概念,参见:
23+
http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/001386819879946007bbf6ad052463ab18034f0254bf355000
2124
"""

0 commit comments

Comments
 (0)