From c6c241d4c8e8fcf7911f482f8157106d5d75cea3 Mon Sep 17 00:00:00 2001 From: Lonami Date: Sun, 28 Oct 2018 10:50:54 +0100 Subject: [PATCH] Better wording --- telethon/client/telegrambaseclient.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/telethon/client/telegrambaseclient.py b/telethon/client/telegrambaseclient.py index 9895b762..60a49db6 100644 --- a/telethon/client/telegrambaseclient.py +++ b/telethon/client/telegrambaseclient.py @@ -89,12 +89,8 @@ class TelegramBaseClient(abc.ABC): retries, but this is not recommended, since the program can get stuck in an infinite loop. - retry_delay (`float`, optional): - The delay should wait between each retry in seconds, either - on the initial connection or when Telegram disconnects us - or when sending requests. - - May be set to a false-y value (``0`` or ``None``) for no delays. + retry_delay (`int` | `float`, optional): + The delay in seconds to sleep between automatic reconnections. auto_reconnect (`bool`, optional): Whether reconnection should be retried `connection_retries`