New submission from Abhilash Raj email@example.com:
Looking at the docs, I couldn't find the `raise from` documentation anywhere in the Errors and Exceptions page (https://docs.python.org/3/tutorial/errors.html) page, which seems to be the landing page for Python Exceptions.
I do see however that it is documented on the top page of https://docs.python.org/3/library/exceptions.html and raise statement's docs (https://docs.python.org/3/reference/simple_stmts.html#raise), both of which are pretty hard to discover.
It would be nice to add the docs for `raise from` in the Errors and Exception page too.
---------- assignee: docs@python components: Documentation messages: 349406 nosy: docs@python, maxking priority: normal severity: normal status: open title: Document PEP 3134 in tutorials/errors.rst
Raymond Hettinger firstname.lastname@example.org added the comment:
This is a reasonable suggestion.
Would you like to submit a pull request?
---------- nosy: +rhettinger
Change by Abhilash Raj email@example.com:
---------- keywords: +patch pull_requests: +14964 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15243
miss-islington firstname.lastname@example.org added the comment:
New changeset dcfe111eb5602333135b8776996332a8dcf59392 by Miss Islington (bot) (Abhilash Raj) in branch 'master': bpo-37826: Document exception chaining in Python tutorial for errors. (GH-15243) https://github.com/python/cpython/commit/dcfe111eb5602333135b8776996332a8dcf...
---------- nosy: +miss-islington
Change by Inada Naoki email@example.com:
---------- nosy: +methane nosy_count: 4.0 -> 5.0 pull_requests: +22073 pull_request: https://github.com/python/cpython/pull/23162