aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSebastian Law <[email protected]>2021-02-21 04:32:11 -0800
committerGitHub <[email protected]>2021-02-21 07:32:11 -0500
commita0c1d6f6c5bdc44c144a650dfdeea85ee59f627a (patch)
treeebbd7d2b3cb64fa7d9c6e407c0079ad020f12766 /docs
parent[tasks] make __call__ actually appear in the docs (diff)
downloaddiscord.py-a0c1d6f6c5bdc44c144a650dfdeea85ee59f627a.tar.xz
discord.py-a0c1d6f6c5bdc44c144a650dfdeea85ee59f627a.zip
Fix backslashes showing up in the docs
Diffstat (limited to 'docs')
-rw-r--r--docs/api.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api.rst b/docs/api.rst
index 9146b318..dc016fba 100644
--- a/docs/api.rst
+++ b/docs/api.rst
@@ -250,7 +250,7 @@ to handle it, which defaults to print a traceback and ignoring the exception.
:param shard_id: The shard ID that has resumed.
:type shard_id: :class:`int`
-.. function:: on_error(event, \*args, \*\*kwargs)
+.. function:: on_error(event, *args, **kwargs)
Usually when an event raises an uncaught exception, a traceback is
printed to stderr and the exception is ignored. If you want to