diff --git a/docs/api.rst b/docs/api.rst index bacbc0e97..7d5f1d236 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -267,7 +267,7 @@ to handle it, which defaults to print a traceback and ignoring the exception. If you want exception to propagate out of the :class:`Client` class you can define an ``on_error`` handler consisting of a single empty - :ref:`py:raise`. Exceptions raised by ``on_error`` will not be + :ref:`raise statement `. Exceptions raised by ``on_error`` will not be handled in any way by :class:`Client`. .. note::