我有一个主程序调用的函数:
try: someFunction() except: print "exception happened!"
但是在函数执行过程中它会引发异常,因此会跳转到该except部分.
except
我怎样才能确切地看到发生了什么someFunction()导致异常发生?
someFunction()
python exception
exception ×1
python ×1