From 214a7466e0e53979267bff68d4dfbc9bcc1918d7 Mon Sep 17 00:00:00 2001 From: Manuel Date: Wed, 3 Oct 2018 22:15:47 +0200 Subject: [PATCH] style and typo fix --- telethon/events/inlinequery.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telethon/events/inlinequery.py b/telethon/events/inlinequery.py index 1878bb97..aace300d 100644 --- a/telethon/events/inlinequery.py +++ b/telethon/events/inlinequery.py @@ -150,7 +150,7 @@ class InlineQuery(EventBuilder): next_offset (`str`, optional): The offset the client will send when the user scrolls the - results and it repeates the request. + results and it repeats the request. private (`bool`, optional): Whether the results should be cached by Telegram @@ -169,7 +169,7 @@ class InlineQuery(EventBuilder): if results: results = [self._as_awaitable(x, self._client.loop) - for x in results] + for x in results] done, _ = await asyncio.wait(results, loop=self._client.loop) results = [x.result() for x in done]