fix docstrings

This commit is contained in:
grey-cat-1908 2022-04-11 15:00:38 +03:00
parent 9bfddd3e07
commit b78b051966
2 changed files with 2 additions and 2 deletions

View file

@ -119,5 +119,5 @@ to handle it, which defaults to print a traceback and ignoring the exception.
Called when particular shard becomes ready.
:param shard_id: The shard ID that is ready.
:type shard_id: :class:`int``
:type shard_id: :class:`int`

View file

@ -325,7 +325,7 @@ class Client:
check: Optional[Callable[[Any], :class:`bool`]]
A predicate to check what to wait for. The arguments must meet the
parameters of the event being waited for.
timeout: Optional[float]
timeout: Optional[:class:`float`]
The number of seconds to wait before timing out and raising
:exc:`asyncio.TimeoutError`.