We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22c0fa1 commit c09dc3cCopy full SHA for c09dc3c
1 file changed
docs/source/reference-core.rst
@@ -748,8 +748,8 @@ callbacks::
748
... # handle each IndexError
749
750
with catch({
751
- KeyError: handle_keyerror,
752
- IndexError: handle_indexerror
+ KeyError: handle_keyerrors,
+ IndexError: handle_indexerrors
753
}):
754
async with trio.open_nursery() as nursery:
755
nursery.start_soon(broken1)
@@ -764,7 +764,7 @@ inside the handler function(s) with the ``nonlocal`` keyword::
764
myflag = True
765
766
myflag = False
767
- with catch({KeyError: handle_keyerror}):
+ with catch({KeyError: handle_keyerrors}):
768
769
770
0 commit comments