From f0c3568ea98ba9baf4177e8e39e30b9131918dd4 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 c7745ff27..8085d97e6 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::