aboutsummaryrefslogtreecommitdiff
path: root/discord/permissions.py
diff options
context:
space:
mode:
authorBeatButton <[email protected]>2018-09-09 09:19:50 -0600
committerRapptz <[email protected]>2018-09-14 22:55:27 -0400
commita4d1599ce92e39d93ff6ccb08ef4511d8b2543be (patch)
tree11af80b8e22dce5f37ed7f9cdd157d5213c8fd90 /discord/permissions.py
parentBump aiohttp contraint to <3.5.0 (diff)
downloaddiscord.py-a4d1599ce92e39d93ff6ccb08ef4511d8b2543be.tar.xz
discord.py-a4d1599ce92e39d93ff6ccb08ef4511d8b2543be.zip
Change docstrings to raw-strings
Diffstat (limited to 'discord/permissions.py')
-rw-r--r--discord/permissions.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/permissions.py b/discord/permissions.py
index 518a31c7..cb546668 100644
--- a/discord/permissions.py
+++ b/discord/permissions.py
@@ -169,7 +169,7 @@ class Permissions:
return cls(0b00000011111100000000000100000000)
def update(self, **kwargs):
- """Bulk updates this permission object.
+ r"""Bulk updates this permission object.
Allows you to set multiple attributes by using keyword
arguments. The names must be equivalent to the properties
@@ -510,7 +510,7 @@ def augment_from_permissions(cls):
@augment_from_permissions
class PermissionOverwrite:
- """A type that is used to represent a channel specific permission.
+ r"""A type that is used to represent a channel specific permission.
Unlike a regular :class:`Permissions`\, the default value of a
permission is equivalent to ``None`` and not ``False``. Setting
@@ -595,7 +595,7 @@ class PermissionOverwrite:
return all(x is None for x in self._values.values())
def update(self, **kwargs):
- """Bulk updates this permission overwrite object.
+ r"""Bulk updates this permission overwrite object.
Allows you to set multiple attributes by using keyword
arguments. The names must be equivalent to the properties