diff --git a/docs/source/examples/ho_contingency.ipynb b/docs/source/examples/ho_contingency.ipynb index 03f631ef8..6a349aba8 100644 --- a/docs/source/examples/ho_contingency.ipynb +++ b/docs/source/examples/ho_contingency.ipynb @@ -312,7 +312,7 @@ "**Exception handling in generator coroutines**\n", "\n", "Generator coroutines [expose exception throwing](https://tacaswell.github.io/coroutines-i.html) as a user communication channel. This means\n", - "there is some [in-band encoding](https://youtu.be/iKzOBWOHGFE?si=XAtQKhk3eHboHcL-&t=1011) of Python's control exceptions with the users exceptions. When the `close()` [method](https://docs.python.org/3/reference/expressions.html#generator.close) is called on generator corutine Python will throw a [`GeneratorExit`](https://docs.python.org/3/library/exceptions.html#GeneratorExit) exception into the coroutine. If you catch this exception and try to yield another `Msg`, either explictily in an `except` block or in a `finally` block Python will raise a `RuntimeError` at the call site.\n", + "there is some [in-band encoding](https://youtu.be/iKzOBWOHGFE?si=XAtQKhk3eHboHcL-&t=1011) of Python's control exceptions with the users exceptions. When the `close()` [method](https://docs.python.org/3/reference/expressions.html#generator.close) is called on a generator coroutine, Python will throw a [`GeneratorExit`](https://docs.python.org/3/library/exceptions.html#GeneratorExit) exception into the coroutine. If you catch this exception and try to yield another `Msg`, either explicitly in an `except` block or in a `finally` block, Python will raise a `RuntimeError` at the call site.\n", "\n", "If you want to directly use `try..except..else..finally` you must handle this case. See the source of these decorators for a guide.\n", "\n",