Fixed typo: 'to reraised -> to reraise' (#2088)

This commit is contained in:
Redowan Delowar 2021-09-27 03:09:15 +06:00 committed by GitHub
parent b9b44c4eb7
commit 8abbdd1527
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ together as the stack unwinds. Several real world use cases are listed below.
* **Multiple user callbacks fail.** Python's ``atexit.register()`` function
allows users to register functions that are called on system exit. If any of
them raise exceptions, only the last one is reraised, but it would be better
to reraised all of them together (see ``atexit`` documentation [5]_.)
to reraise all of them together (see ``atexit`` documentation [5]_.)
Similarly, the pytest library allows users to register finalizers which
are executed at teardown. If more than one of these finalizers raises an
exception, only the first is reported to the user. This can be improved with