From 3864fb37a0814345913c7ca4fd1978fa5e2ef7e2 Mon Sep 17 00:00:00 2001 From: Josh Date: Thu, 6 May 2021 21:51:07 +1000 Subject: Fix various reference issues in documentation Co-Authored-By: Riley Shaw <30989490+ShineyDev@users.noreply.github.com> --- 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 d4f0a48c..4a6922b6 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -353,7 +353,7 @@ def find(predicate: Callable[[T], Any], seq: Iterable[T]) -> Optional[T]: ----------- predicate A function that returns a boolean-like result. - seq: iterable + seq: :class:`collections.abc.Iterable` The iterable to search through. """ @@ -530,7 +530,7 @@ async def sleep_until(when: datetime.datetime, result: Optional[T] = None) -> Op def utcnow() -> datetime.datetime: """A helper function to return an aware UTC datetime representing the current time. - This should be preferred to :func:`datetime.datetime.utcnow` since it is an aware + This should be preferred to :meth:`datetime.datetime.utcnow` since it is an aware datetime, compared to the naive datetime in the standard library. .. versionadded:: 2.0 -- cgit v1.2.3