aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar Sebastiaan Zeeff <[email protected]>2020-03-04 08:37:35 +0100
committerGravatar Sebastiaan Zeeff <[email protected]>2020-03-04 08:37:35 +0100
commitc12b8e8d84cf8d2ad373c334e5c517d717285e14 (patch)
treea9b834e9e6f4b4d777c074533408f25e61fe1dba /tests
parentMerge pull request #815 from python-discord/watchchannel-dm (diff)
Use raw strings for docstrings with forward slashes
A few docstrings in `bot.cogs.extensions` have forward slashed in them to escape Markdown rendering when our help feature uses these docstring in a Discord message. However, the use of forward slashes with an invalid escape sequence in docstrings now raises a DeprecationWarning in Python: /home/sebastiaan/pydis/repositories/bot/bot/cogs/extensions.py:72: DeprecationWarning: invalid escape sequence \* PEP 257 (Docstring Conventions, https://www.python.org/dev/peps/pep-0257/) states that raw strings should be used for docstrings that use forward slashes, so I've added the `r`-prefix to the docstrings that use forward slashes.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions