From 17f343b03e72e6c239f5c90cc4836dfefe9c24de Mon Sep 17 00:00:00 2001 From: Rapptz Date: Tue, 21 Jan 2020 21:34:58 -0500 Subject: Minor documentation fixes --- discord/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'discord/utils.py') diff --git a/discord/utils.py b/discord/utils.py index dd816e69..46f35bdb 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -346,14 +346,14 @@ async def sleep_until(when, result=None): If the time supplied is in the past this function will yield instantly. + .. versionadded:: 1.3 + Parameters ----------- when: :class:`datetime.datetime` The timestamp in which to sleep until. result: Any If provided is returned to the caller when the coroutine completes. - - .. versionadded:: 1.3 """ if when.tzinfo is None: when = when.replace(tzinfo=datetime.timezone.utc) -- cgit v1.2.3