Message150382
| Author |
Ramchandra Apte |
| Recipients |
Ramchandra Apte, docs@python |
| Date |
2011年12月30日.15:34:13 |
| SpamBayes Score |
4.7755915e-08 |
| Marked as misclassified |
No |
| Message-id |
<1325259254.7.0.957455919083.issue13683@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
In the Python 3 docs for the raise statement, http://docs.python.org/py3k/reference/simple_stmts.html#the-raise-statement,the docs say "If no exception is active in the current scope, a TypeError exception is raised indicating that this is an error (if running under IDLE, a queue.Empty exception is raised instead).
This is wrong in Python 3 because raise raises a RuntimeError and IDLE does the same (does not raise a queue.Empty Exception).
The text should be "If no exception is active in the current scope, a RuntimeError exception is raised indicating that this is an error." |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年12月30日 15:34:14 | Ramchandra Apte | set | recipients:
+ Ramchandra Apte, docs@python |
| 2011年12月30日 15:34:14 | Ramchandra Apte | set | messageid: <1325259254.7.0.957455919083.issue13683@psf.upfronthosting.co.za> |
| 2011年12月30日 15:34:14 | Ramchandra Apte | link | issue13683 messages |
| 2011年12月30日 15:34:13 | Ramchandra Apte | create |
|