diff options
| author | ChasL <[email protected]> | 2021-05-14 23:06:50 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-05-15 02:06:50 -0400 |
| commit | 9d114fb066692bafe276d6240eaf57419d3d9e13 (patch) | |
| tree | 5c97dff7b8857d4d93e9f18e63b9fdd613c491bd /docs/api.rst | |
| parent | Document Invite.inviter as optional (diff) | |
| download | discord.py-9d114fb066692bafe276d6240eaf57419d3d9e13.tar.xz discord.py-9d114fb066692bafe276d6240eaf57419d3d9e13.zip | |
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."
Diffstat (limited to 'docs/api.rst')
| -rw-r--r-- | docs/api.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst index bacbc0e9..7d5f1d23 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 <py:raise>`. Exceptions raised by ``on_error`` will not be handled in any way by :class:`Client`. .. note:: |