You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2019-08-16.21:58:04.426>created_at=<Date2019-08-11.18:36:06.429>labels= ['docs']
title='Document PEP 3134 in tutorials/errors.rst'updated_at=<Date2020-11-05.09:05:04.157>user='https://github.com/maxking'
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.
New changeset dcfe111 by Miss Islington (bot) (Abhilash Raj) in branch 'master': bpo-37826: Document exception chaining in Python tutorial for errors. (GH-15243) dcfe111
Activity
maxking commentedon Aug 11, 2019
Looking at the docs, I couldn't find the
raise fromdocumentation 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 fromin the Errors and Exception page too.rhettinger commentedon Aug 12, 2019
This is a reasonable suggestion.
Would you like to submit a pull request?
maxking commentedon Aug 13, 2019
Yes, I am gonna work on a PR.
miss-islington commentedon Aug 14, 2019
New changeset dcfe111 by Miss Islington (bot) (Abhilash Raj) in branch 'master':
bpo-37826: Document exception chaining in Python tutorial for errors. (GH-15243)
dcfe111