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@python
components: Documentation
messages: 206400
nosy: docs@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue20003>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to