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

2013-12-20 Thread Terry J. Reedy

Changes by Terry J. Reedy :


--
resolution:  -> duplicate
stage:  -> committed/rejected
status: open -> closed
superseder:  -> Document 'from None' in raise statement doc.
type:  -> enhancement

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



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

2013-12-16 Thread rurpy

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com