Python 异常处理总结

Python 文档中对异常的描述 Python异常

部分异常的中文描述:Python异常

1. AttributeError: module 'decimal' has no attribute 'getcontext'

后面发现自己定义了 decimal 这个类报错,把 demical 换个名字就可以了。

相关文章:

  • 2021-11-13
  • 2021-05-13
  • 2021-12-25
  • 2021-12-20
  • 2021-04-09
  • 2021-09-22
  • 2022-03-07
  • 2022-12-23
猜你喜欢
  • 2021-06-29
  • 2021-06-28
  • 2021-03-31
  • 2021-11-16
  • 2022-02-07
相关资源
相似解决方案