diff options
| author | ChasL <[email protected]> | 2021-05-14 23:06:50 -0700 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2021-06-12 12:00:33 -0400 |
| commit | f0c3568ea98ba9baf4177e8e39e30b9131918dd4 (patch) | |
| tree | e16882024f0b166c968445e97baf8770f3f377a8 /docs | |
| parent | Fix AuditLogEntry.target being incorrect for bulk message delete (diff) | |
| download | discord.py-f0c3568ea98ba9baf4177e8e39e30b9131918dd4.tar.xz discord.py-f0c3568ea98ba9baf4177e8e39e30b9131918dd4.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')
| -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 c7745ff2..8085d97e 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:: |