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 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