diff --git a/docs/source/client.rst b/docs/source/client.rst index ee64ad9..697f54a 100644 --- a/docs/source/client.rst +++ b/docs/source/client.rst @@ -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` diff --git a/melisa/client.py b/melisa/client.py index 266235f..4a9c941 100644 --- a/melisa/client.py +++ b/melisa/client.py @@ -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`.