已读80%
预计阅读本页时间:-
预计阅读本页时间:-
Test Your Knowledge: Quiz
- What are the two new constraints on user-defined exceptions in Python 3.0?
- How are raised class-based exceptions matched to handlers?
- Name two ways that you can attach context information to exception objects.
- Name two ways that you can specify the error message text for exception objects.
- Why should you not use string-based exceptions anymore today?