批踢踢實業坊
›
看板
Python
關於我們
聯絡資訊
返回看板
作者
xk4nk4 (一念無量劫)
看板
Python
標題
[問題] function
時間
Fri Sep 26 13:53:06 2008
有時後會在code中看到function define前會多一行@開頭的東西 像是 @abc def func 請問那一行@abc是做什麼的呢? 謝謝 -- --
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.179.56
※ 編輯: xk4nk4 來自: 140.113.179.56 (09/26 13:53)
推
ckclark
:decorator
http://docs.python.org/ref/function.html
09/26 13:57
→
xk4nk4
:謝謝
09/28 17:33