Message375793
The purpose of this tutorial section is to document how to catch all types of exceptions and extract the type and value. When this is required, `BaseException as err:` is the preferred approach.
This document still mentions the alternative approach so that readers will know what it means when they encounter it, and know to upgrade it to the py2.4+ syntax |
|
Date |
User |
Action |
Args |
2020-08-22 10:01:41 | graingert | set | recipients:
+ graingert, terry.reedy, docs@python, serhiy.storchaka |
2020-08-22 10:01:41 | graingert | set | messageid: <1598090501.38.0.380610348581.issue41576@roundup.psfhosted.org> |
2020-08-22 10:01:41 | graingert | link | issue41576 messages |
2020-08-22 10:01:41 | graingert | create | |
|