Skip to content

Commit f0c3568

Browse files
ChasLRapptz
authored andcommitted
Fix for doc reference to python "raise" statement
:ref:`py:raise` -> :ref:`raise statement <py:raise>` 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."
1 parent 6a52eea commit f0c3568

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ to handle it, which defaults to print a traceback and ignoring the exception.
267267

268268
If you want exception to propagate out of the :class:`Client` class
269269
you can define an ``on_error`` handler consisting of a single empty
270-
:ref:`py:raise`. Exceptions raised by ``on_error`` will not be
270+
:ref:`raise statement <py:raise>`. Exceptions raised by ``on_error`` will not be
271271
handled in any way by :class:`Client`.
272272

273273
.. note::

0 commit comments

Comments
 (0)