Change docstrings to raw-strings

This commit is contained in:
BeatButton
2018-09-09 09:19:50 -06:00
committed by Rapptz
parent 5131acd675
commit a4d1599ce9
14 changed files with 29 additions and 29 deletions

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