diff options
| author | BeatButton <[email protected]> | 2018-09-09 09:19:50 -0600 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2018-09-14 22:55:27 -0400 |
| commit | a4d1599ce92e39d93ff6ccb08ef4511d8b2543be (patch) | |
| tree | 11af80b8e22dce5f37ed7f9cdd157d5213c8fd90 /discord/user.py | |
| parent | Bump aiohttp contraint to <3.5.0 (diff) | |
| download | discord.py-a4d1599ce92e39d93ff6ccb08ef4511d8b2543be.tar.xz discord.py-a4d1599ce92e39d93ff6ccb08ef4511d8b2543be.zip | |
Change docstrings to raw-strings
Diffstat (limited to 'discord/user.py')
| -rw-r--r-- | discord/user.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/user.py b/discord/user.py index fa4c0719..3fa5090d 100644 --- a/discord/user.py +++ b/discord/user.py @@ -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 |