[issue35446] incorrect example

2018-12-11 Thread Eric Snow
Change by Eric Snow : -- pull_requests: -10353 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35446] incorrect example

2018-12-11 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +10353 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35446] incorrect example

2018-12-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The example is correct. If the except clauses were reversed for cls in [B, C, D]: try: raise cls() except B: print("B") except C: print("C") except D: print("D") it would have printed B, B, B. --

[issue35446] incorrect example

2018-12-10 Thread Martin Panter
Martin Panter added the comment: It doesn’t make sense to move the “except” line without moving the matching “print” line. According to , “A clause consists of a header and a ‘suite’.” So when it talks about reversing the

[issue35446] incorrect example

2018-12-09 Thread Alistsair Lenhard
New submission from Alistsair Lenhard : under: https://docs.python.org/3/tutorial/errors.html Original it says: "Note that if the except clauses were reversed (with except B first), it would have printed B, B, B — the first matching except clause is triggered." It should read: "Note that if