您的位置: 首页 > 文章 > Python 异常处理总结 Python 异常处理总结 分类: 文章 • 2023-10-11 10:04:57 Python 文档中对异常的描述 Python异常 部分异常的中文描述:Python异常 1. AttributeError: module 'decimal' has no attribute 'getcontext' 后面发现自己定义了 decimal 这个类报错,把 demical 换个名字就可以了。