From b78b05196619d604b36b838183cee458151a7442 Mon Sep 17 00:00:00 2001 From: grey-cat-1908 Date: Mon, 11 Apr 2022 15:00:38 +0300 Subject: [PATCH] fix docstrings --- docs/source/client.rst | 2 +- melisa/client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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`.