We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e16e10 commit 5062389Copy full SHA for 5062389
doc/features.md
@@ -3365,6 +3365,7 @@ class ApplicationException(Exception):
3365
pass
3366
3367
# reraise_in: expr form
3368
+# The mapping is {in0: out0, ...}
3369
try:
3370
# reraise_in(thunk, mapping)
3371
reraise_in(lambda: raisef(LibraryException),
@@ -3388,6 +3389,7 @@ except ApplicationException:
3388
3389
print("all ok!")
3390
3391
# reraise: block form
3392
3393
3394
with reraise({LibraryException: ApplicationException}):
3395
raise LibraryException
0 commit comments