Message206400
| Author |
rurpy2 |
| Recipients |
docs@python, rurpy2 |
| Date |
2013年12月17日.03:47:51 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1387252072.89.0.572943909834.issue20003@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In the current (3.3.3 and 3.4dev) Language Reference Manual, the section on the Raise statement fails to mention that the second expression can be None (per PEP-409/415) or the special behavior (suppressing a chained exception) that ensues. Rather it explicitly states it can not be None:
"...the second expression must be another exception class or instance..."
It appears that although the Exceptions section of the Library Reference was updated when PEP-409/415 was implemented, the Language Reference was not. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年12月17日 03:47:53 | rurpy2 | set | recipients:
+ rurpy2, docs@python |
| 2013年12月17日 03:47:52 | rurpy2 | set | messageid: <1387252072.89.0.572943909834.issue20003@psf.upfronthosting.co.za> |
| 2013年12月17日 03:47:52 | rurpy2 | link | issue20003 messages |
| 2013年12月17日 03:47:51 | rurpy2 | create |
|