aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-07-10 20:33:53 -0400
committerRapptz <[email protected]>2017-07-10 20:33:53 -0400
commit8f0dcaa66652c702d5a30e92f526a1edb081b85b (patch)
treea7f0fd42ec9b37281b907d5c4a4f7ea761345df4 /docs
parentMessage content is Optional in Message.edit. (diff)
downloaddiscord.py-8f0dcaa66652c702d5a30e92f526a1edb081b85b.tar.xz
discord.py-8f0dcaa66652c702d5a30e92f526a1edb081b85b.zip
Variadic arguments are a tuple not a list.
Diffstat (limited to 'docs')
-rw-r--r--docs/ext/commands/commands.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ext/commands/commands.rst b/docs/ext/commands/commands.rst
index 81a7de0b..83371add 100644
--- a/docs/ext/commands/commands.rst
+++ b/docs/ext/commands/commands.rst
@@ -129,7 +129,7 @@ at all:
.. image:: /images/commands/variable3.png
-Since the ``args`` variable is a `list <https://docs.python.org/3/library/stdtypes.html#sequence-types-list-tuple-range>`_,
+Since the ``args`` variable is a `tuple <https://docs.python.org/3/library/stdtypes.html#sequence-types-list-tuple-range>`_,
you can do anything you would usually do with one.
Keyword-Only Arguments