UnboundLocalError

It can be a surprise to get the UnboundLocalError in previously working code when it is modified by adding an assignment statement somewhere in the body of a function. 在一個函數內部的某個地方,對一個變量通過賦值來修改的時候,遇到U
相關文章
相關標籤/搜索