aboutsummaryrefslogtreecommitdiff
path: root/discord/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/utils.py')
-rw-r--r--discord/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/utils.py b/discord/utils.py
index 53eccf82..49ca2e5c 100644
--- a/discord/utils.py
+++ b/discord/utils.py
@@ -342,13 +342,13 @@ async def sleep_until(when):
"""Sleep until a specified time.
If the time supplied is in the past this function will yield instantly.
-
+
Parameters
-----------
when: :class:`datetime.datetime`
The timestamp in which to sleep until.
- .. versionadded:: 1.3.0
+ .. versionadded:: 1.3
"""
if when.tzinfo is None:
when = when.replace(tzinfo=datetime.timezone.utc)