Fixed typo: 'to reraised -> to reraise' (#2088)
This commit is contained in:
parent
b9b44c4eb7
commit
8abbdd1527
|
@ -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
|
* **Multiple user callbacks fail.** Python's ``atexit.register()`` function
|
||||||
allows users to register functions that are called on system exit. If any of
|
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
|
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
|
Similarly, the pytest library allows users to register finalizers which
|
||||||
are executed at teardown. If more than one of these finalizers raises an
|
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
|
exception, only the first is reported to the user. This can be improved with
|
||||||
|
|
Loading…
Reference in New Issue