Fix typo in docs (#1493)

This commit is contained in:
KnorpelSenf 2020-06-24 14:30:41 +02:00 committed by GitHub
parent ba4f4c1f78
commit 0f8119c400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -417,7 +417,7 @@ class TelegramBaseClient(abc.ABC):
.. code-block:: python
# Download media in the background
task = client.loop_create_task(message.download_media())
task = client.loop.create_task(message.download_media())
# Do some work
...