[issue20003] Language Ref "raise" doc misssing "from None"

rurpy report at bugs.python.org
Tue Dec 17 04:47:52 CET 2013


New submission from rurpy:

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.

----------
assignee: docs at python
components: Documentation
messages: 206400
nosy: docs at python, rurpy2
priority: normal
severity: normal
status: open
title: Language Ref "raise" doc misssing "from None"
versions: Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20003>
_______________________________________


More information about the Python-bugs-list mailing list