Remove duplicate module docstrings from utils, core, and misc modules.

Fixes #7699

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Rishi-gdrx 2026-07-04 13:00:16 +05:30
parent cc9006a56b
commit 10ce3eaaf3
32 changed files with 0 additions and 120 deletions

View File

@ -1,7 +1,3 @@
"""
Scrapy - a web crawling and web scraping framework written for Python
"""
import pkgutil
import sys
import warnings

View File

@ -1,7 +1,3 @@
"""
Base class for Scrapy commands
"""
from __future__ import annotations
import argparse

View File

@ -1,3 +0,0 @@
"""
Scrapy core library classes and functions.
"""

View File

@ -1,5 +1,3 @@
"""Download handlers for different schemes"""
from __future__ import annotations
import inspect

View File

@ -1,5 +1,3 @@
"""Download handlers for http and https schemes"""
from __future__ import annotations
import ipaddress

View File

@ -1,10 +1,3 @@
"""
This is the Scrapy engine which controls the Scheduler, Downloader and Spider.
For more information see docs/topics/architecture.rst
"""
from __future__ import annotations
import asyncio

View File

@ -1,6 +1,3 @@
"""This module implements the Scraper component which parses responses and
extracts information from them"""
from __future__ import annotations
import logging

View File

@ -1,11 +1,3 @@
"""
This module defines the Link object used in Link extractors.
For actual link extractors implementation see scrapy.linkextractors, or
its documentation in: docs/topics/link-extractors.rst
"""
class Link:
"""Link objects represent an extracted link by the LinkExtractor.

View File

@ -1,11 +1,3 @@
"""
scrapy.linkextractors
This package contains a collection of Link Extractors.
For more info see docs/topics/link-extractors.rst
"""
from __future__ import annotations
from typing import TYPE_CHECKING

View File

@ -1,7 +1,3 @@
"""
Link extractor based on lxml.html
"""
from __future__ import annotations
import logging

View File

@ -1,7 +1,3 @@
"""
Mail sending helpers
"""
from __future__ import annotations
import logging

View File

@ -1,8 +1,3 @@
"""
This module implements a class which returns the appropriate Response class
based on different criteria.
"""
from __future__ import annotations
from io import StringIO

View File

@ -1,7 +1,3 @@
"""
Selectors
"""
# top-level imports
from scrapy.selector.unified import Selector, SelectorList

View File

@ -1,7 +1,3 @@
"""
Scheduler queues
"""
from __future__ import annotations
import marshal

View File

@ -1,7 +1,3 @@
"""
Scrapy extension for collecting scraping stats
"""
from __future__ import annotations
import logging

View File

@ -1,5 +1,3 @@
"""Utils for built-in HTTP download handlers."""
from __future__ import annotations
from contextlib import contextmanager

View File

@ -1,5 +1,3 @@
"""Utilities related to asyncio and its support in Scrapy."""
from __future__ import annotations
import asyncio

View File

@ -1,5 +1,3 @@
"""Boto/botocore helpers"""
def is_botocore_available() -> bool:
try:

View File

@ -1,8 +1,3 @@
"""
This module contains data types used by Scrapy which are not included in the
Python Standard Library.
"""
from __future__ import annotations
import collections

View File

@ -1,7 +1,3 @@
"""
Helper functions for dealing with Twisted deferreds
"""
from __future__ import annotations
import asyncio

View File

@ -1,5 +1,3 @@
"""Some helpers for deprecation messages"""
from __future__ import annotations
import inspect

View File

@ -1,7 +1,3 @@
"""
pprint and pformat wrappers with colorization support
"""
import ctypes
import platform
import sys

View File

@ -1,5 +1,3 @@
"""Some debugging functions for working with the Scrapy engine"""
from __future__ import annotations
# used in global tests code

View File

@ -1,5 +1,3 @@
"""Helper functions for scrapy.http objects (Request, Response)"""
from __future__ import annotations
from typing import TYPE_CHECKING

View File

@ -1,5 +1,3 @@
"""Helper functions which don't fit anywhere else"""
from __future__ import annotations
import ast

View File

@ -1,7 +1,3 @@
"""
This module contains essential stuff that should've come with Python itself ;)
"""
from __future__ import annotations
import gc

View File

@ -1,8 +1,3 @@
"""
This module provides some useful functions for working with
scrapy.Request objects
"""
from __future__ import annotations
import hashlib

View File

@ -1,8 +1,3 @@
"""
This module provides some useful functions for working with
scrapy.http.Response objects
"""
from __future__ import annotations
import os

View File

@ -1,5 +1,3 @@
"""Helper functions for working with signals"""
from __future__ import annotations
import asyncio

View File

@ -1,5 +1,3 @@
"""Helper functions for working with templates"""
from __future__ import annotations
import re

View File

@ -1,7 +1,3 @@
"""
This module contains some assorted functions used in tests
"""
from __future__ import annotations
import asyncio

View File

@ -1,8 +1,3 @@
"""
This module contains general purpose URL functions not found in the standard
library.
"""
from __future__ import annotations
import re