Scrapy, a fast high-level web crawling & scraping framework for Python.
Fix typo in documentation and code: 'needs_backoff' -> 'needs_backout' (#6815)
Keval Sakhiyaff7d29654a97
diff --git a/docs/topics/spiders.rst b/docs/topics/spiders.rstindex 891c4da05..8240d5d4b 100644--- a/docs/topics/spiders.rst+++ b/docs/topics/spiders.rst@@ -388,7 +388,7 @@ its iteration whenever there are scheduled requests:async def start(self):async for item_or_request in super().start():- if self.crawler.engine.needs_backoff():+ if self.crawler.engine.needs_backout():await self.crawler.signals.wait_for(signals.scheduler_empty)yield item_or_request