Message150382
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." |
|
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 | |
|