sys.exc_info() in Python 2 vs Python 3

后端 未结 0 943
挽巷
挽巷 2020-11-28 03:28

I am having some difficulties with exception handling in Python 3. In both Python 2.7 and 3.8, I have this snippet that gives you an idea of how I handle errors/exceptions:<

相关标签:
回答
  • 消灭零回复
提交回复
热议问题