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

@ -234,7 +234,7 @@ class BotBase(GroupMixin):
# global check registration
def check(self, func):
"""A decorator that adds a global check to the bot.
r"""A decorator that adds a global check to the bot.
A global check is similar to a :func:`.check` that is applied
on a per command basis except it is run before any command checks
@ -302,7 +302,7 @@ class BotBase(GroupMixin):
pass
def check_once(self, func):
"""A decorator that adds a "call once" global check to the bot.
r"""A decorator that adds a "call once" global check to the bot.
Unlike regular global checks, this one is called only once
per :meth:`.Command.invoke` call.
@ -393,7 +393,7 @@ class BotBase(GroupMixin):
return coro
def after_invoke(self, coro):
"""A decorator that registers a coroutine as a post-invoke hook.
r"""A decorator that registers a coroutine as a post-invoke hook.
A post-invoke hook is called directly after the command is
called. This makes it a useful function to clean-up database
@ -810,7 +810,7 @@ class BotBase(GroupMixin):
return ret
async def get_context(self, message, *, cls=Context):
"""|coro|
r"""|coro|
Returns the invocation context from the message.