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

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 <report@bugs.python.org> <http://bugs.python.org/issue20003> _______________________________________

Changes by Terry J. Reedy <tjreedy@udel.edu>: ---------- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> Document 'from None' in raise statement doc. type: -> enhancement _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue20003> _______________________________________
participants (2)
-
rurpy
-
Terry J. Reedy