2
當我執行這個代碼故障排除 「在線程未處理的異常」 錯誤
import class3,thread
t3 = class3.test3
thread.start_new_thread(t3.func3,())
其中class3
是
class test3(object):
def func3():
while 1:
print "working!!"
我得到一個錯誤:
Unhandled exception in thread started by <unbound method test3.func3>
是什麼意思這個錯誤,以及我如何解決它?