From a382da4b601488165415850ce68434ad0fc81866 Mon Sep 17 00:00:00 2001 From: Siddhesh Kulkarni <143459031+Sidmsu@users.noreply.github.com> Date: Thu, 2 Jul 2026 11:12:45 -0700 Subject: [PATCH] Remove stale module-level docstrings pointing to docs These three module docstrings only restated the module's name and pointed to the corresponding docs/topics/*.rst page, which already documents the module in full. No unique information was lost. Partial pass on #7699; a broader sweep is still needed. --- scrapy/downloadermiddlewares/downloadtimeout.py | 6 ------ scrapy/extension.py | 6 ------ scrapy/loader/__init__.py | 6 ------ 3 files changed, 18 deletions(-) diff --git a/scrapy/downloadermiddlewares/downloadtimeout.py b/scrapy/downloadermiddlewares/downloadtimeout.py index bccfb230c..79d0aebdf 100644 --- a/scrapy/downloadermiddlewares/downloadtimeout.py +++ b/scrapy/downloadermiddlewares/downloadtimeout.py @@ -1,9 +1,3 @@ -""" -Download timeout middleware - -See documentation in docs/topics/downloader-middleware.rst -""" - from __future__ import annotations from typing import TYPE_CHECKING diff --git a/scrapy/extension.py b/scrapy/extension.py index 05cce326b..768804b7f 100644 --- a/scrapy/extension.py +++ b/scrapy/extension.py @@ -1,9 +1,3 @@ -""" -The Extension Manager - -See documentation in docs/topics/extensions.rst -""" - from __future__ import annotations from typing import TYPE_CHECKING, Any diff --git a/scrapy/loader/__init__.py b/scrapy/loader/__init__.py index 8ee7dc16c..7ac324fd0 100644 --- a/scrapy/loader/__init__.py +++ b/scrapy/loader/__init__.py @@ -1,9 +1,3 @@ -""" -Item Loader - -See documentation in docs/topics/loaders.rst -""" - from __future__ import annotations from typing import TYPE_CHECKING, Any