Change docstrings to raw-strings

This commit is contained in:
BeatButton authored and Rapptz committed 2018-09-14 22:55:27 -04:00
1 parent 5131acd675
commit a4d1599ce9
14 files changed
+29 -29

No files matched your search

+3 -3
View File
@@ -305,12 +305,12 @@ class ClientUser(BaseUser):
@property
def friends(self):
"""Returns a :class:`list` of :class:`User`\s that the user is friends with."""
r"""Returns a :class:`list` of :class:`User`\s that the user is friends with."""
return [r.user for r in self._relationships.values() if r.type is RelationshipType.friend]
@property
def blocked(self):
"""Returns a :class:`list` of :class:`User`\s that the user has blocked."""
r"""Returns a :class:`list` of :class:`User`\s that the user has blocked."""
return [r.user for r in self._relationships.values() if r.type is RelationshipType.blocked]
async def edit(self, **fields):
@@ -414,7 +414,7 @@ class ClientUser(BaseUser):
self.__init__(state=self._state, data=data)
async def create_group(self, *recipients):
"""|coro|
r"""|coro|
Creates a group direct message with the recipients
provided. These recipients must be have a relationship