aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-01-07 00:21:00 -0500
committerRapptz <[email protected]>2016-01-07 00:21:00 -0500
commite88bc28236c75f589333ae1d41d5f76e6c1a868b (patch)
treef4316b4f810a557ee433c7518cc3f2c9e043872b /discord
parentDocument the fact that data classes use __slots__. (diff)
downloaddiscord.py-e88bc28236c75f589333ae1d41d5f76e6c1a868b.tar.xz
discord.py-e88bc28236c75f589333ae1d41d5f76e6c1a868b.zip
Documentation fixes to quiet Sphinx warnings.
Diffstat (limited to 'discord')
-rw-r--r--discord/client.py6
-rw-r--r--discord/utils.py2
2 files changed, 4 insertions, 4 deletions
diff --git a/discord/client.py b/discord/client.py
index 45a69fea..dcec1ae2 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -2069,7 +2069,7 @@ class Client:
-----------
member : :class:`Member`
The member to give roles to.
- *roles
+ \*roles
An argument list of :class:`Role` s to give the member.
Raises
@@ -2097,7 +2097,7 @@ class Client:
-----------
member : :class:`Member`
The member to revoke roles from.
- *roles
+ \*roles
An argument list of :class:`Role` s to revoke the member.
Raises
@@ -2137,7 +2137,7 @@ class Client:
-----------
member : :class:`Member`
The member to replace roles from.
- *roles
+ \*roles
An argument list of :class:`Role` s to replace the roles with.
Raises
diff --git a/discord/utils.py b/discord/utils.py
index 5318b631..6ad98882 100644
--- a/discord/utils.py
+++ b/discord/utils.py
@@ -141,7 +141,7 @@ def get(iterable, **attrs):
-----------
iterable
An iterable to search through.
- **attrs
+ \*\*attrs
Keyword arguments that denote attributes to search with.
"""