在Python 的syntax candy(syntactic sugar) 被稱作Decorator (使用@ ... class Timer(): ... 在呼叫dosomething 去產生class Timer 的Instance .
確定! 回上一頁