From 9cc624103248f7b4b6fe1971b544d60fbea70136 Mon Sep 17 00:00:00 2001 From: GDWR Date: Tue, 10 May 2022 19:07:31 +0100 Subject: Remove trailing whitespace from docstring --- botcore/utils/regex.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'botcore/utils') diff --git a/botcore/utils/regex.py b/botcore/utils/regex.py index 5146a113..8eb38ba2 100644 --- a/botcore/utils/regex.py +++ b/botcore/utils/regex.py @@ -18,9 +18,9 @@ DISCORD_INVITE = re.compile( Regex for Discord server invites. :meta hide-value: -.. warning:: - This regex pattern will capture until a whitespace, if you are to use the 'invite' capture group in - any HTTP requests or similar. Please ensure you sanitise the output using something similar to +.. warning:: + This regex pattern will capture until a whitespace, if you are to use the 'invite' capture group in + any HTTP requests or similar. Please ensure you sanitise the output using something similar to https://docs.python.org/3/library/urllib.parse.html#urllib.parse.quote. """ -- cgit v1.2.3