Update docs/topics/coroutines.rst

Co-authored-by: Adrián Chaves <adrian@chaves.io>
This commit is contained in:
Andrey Rakhmatullin 2025-05-05 22:28:36 +05:00 committed by GitHub
parent b93290f28a
commit acb5f895cd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ For example:
- A custom download handler needs to define a ``download_request()`` method
that returns a :class:`~twisted.internet.defer.Deferred` object. You can
write a method that works with Deferreds and returns one directly, or you
can write a coroutine and convert it into a functions that returns a
can write a coroutine and convert it into a function that returns a
Deferred with :func:`~scrapy.utils.defer.deferred_f_from_coro_f`.