From 9d114fb066692bafe276d6240eaf57419d3d9e13 Mon Sep 17 00:00:00 2001 From: ChasL Date: Fri, 14 May 2021 23:06:50 -0700 Subject: [PATCH] Fix for doc reference to python "raise" statement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit :ref:`py:raise` -> :ref:`raise statement ` Before fix the text reads: "...define an on_error handler consisting of a single empty The raise statement." After fix it should read: "...define an on_error handler consisting of a single empty raise statement." --- docs/api.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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::