Message331479
It doesn’t make sense to move the “except” line without moving the matching “print” line. According to <https://docs.python.org/3.7/reference/compound_stmts.html#index-1>, “A clause consists of a header and a ‘suite’.” So when it talks about reversing the “except” clauses, that includes reversing the corresponding “print” lines, so they condinue to identify which exception handler was triggered. |
|
Date |
User |
Action |
Args |
2018-12-10 09:42:41 | martin.panter | set | recipients:
+ martin.panter, docs@python, Alistair |
2018-12-10 09:42:41 | martin.panter | set | messageid: <1544434961.68.0.788709270274.issue35446@psf.upfronthosting.co.za> |
2018-12-10 09:42:41 | martin.panter | link | issue35446 messages |
2018-12-10 09:42:41 | martin.panter | create | |
|