Visitar URL original
bpo-45292: [PEP-654] exception groups and except* documentation by iritkatriel · Pull Request #30158 · python/cpython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix prompt in example
  • Loading branch information
iritkatriel authored Jan 6, 2022
commit 4a465705fe423e0f004c71203dc0e48abfc070fe
2 changes: 1 addition & 1 deletion Doc/tutorial/errors.rst
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ the following pattern::
... except Exception as e:
... excs.append(e)
...
... if excs:
>>> if excs:
... raise ExceptionGroup("Test Failures", excs)
...