style and typo fix

This commit is contained in:
Manuel 2018-10-03 22:15:47 +02:00
parent 1921043870
commit 214a7466e0

View File

@ -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]