Chiustin
網頁
(移至...)
首頁
家庭
▼
2019年4月5日 星期五
Python Closure
當我們呼叫function時,它會記住decorator()函式中的argument。 這在Python中稱為closure,例如:
參考
https://data-flair.training/blogs/python-decorator/
沒有留言:
張貼留言
‹
›
首頁
查看網路版
沒有留言:
張貼留言