看板 Python 關於我們 聯絡資訊
有時後會在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