python - 异常
摘要:
Exception 和 Error 的区别 python 与 java 不一样,python 的所有异常类,都继承自 BaseException ,并不严格区分 Error 和 Exception。 以 SyntaxError 为例,名字虽然叫 Error,但实际也是继承自 Exception。 j 阅读全文
posted @ 2024-12-02 10:23 疯狂的妞妞 阅读(28) 评论(0) 推荐(0)
posted @ 2024-12-02 10:23 疯狂的妞妞 阅读(28) 评论(0) 推荐(0)
posted @ 2024-12-02 10:19 疯狂的妞妞 阅读(51) 评论(0) 推荐(0)
posted @ 2024-12-02 10:18 疯狂的妞妞 阅读(39) 评论(0) 推荐(0)
posted @ 2024-12-02 09:56 疯狂的妞妞 阅读(54) 评论(0) 推荐(0)
posted @ 2024-12-02 09:55 疯狂的妞妞 阅读(10) 评论(0) 推荐(0)
posted @ 2024-11-04 09:12 疯狂的妞妞 阅读(203) 评论(0) 推荐(0)
posted @ 2024-11-04 09:11 疯狂的妞妞 阅读(129) 评论(0) 推荐(0)
posted @ 2024-11-04 09:10 疯狂的妞妞 阅读(34) 评论(0) 推荐(0)
posted @ 2024-11-04 09:09 疯狂的妞妞 阅读(42) 评论(0) 推荐(0)
posted @ 2024-11-04 09:08 疯狂的妞妞 阅读(263) 评论(0) 推荐(0)