Address feedback.

This commit is contained in:
Andrey Rakhmatullin 2026-06-30 17:56:24 +05:00
parent d4a404308d
commit 49c3ca7bdd
4 changed files with 7 additions and 6 deletions

View File

@ -137,8 +137,8 @@ class _DummyLock:
class WrappedRequest:
"""Wraps a :class:`scrapy.Request` class with methods defined by
:class:`urllib.request.Request` class to interact with
:class:`http.cookiejar.CookieJar` class.
the :class:`urllib.request.Request` class to interact with
the :class:`http.cookiejar.CookieJar` class.
"""
def __init__(self, request: Request):

View File

@ -423,7 +423,7 @@ class FTPFilesStore:
class FilesPipeline(MediaPipeline):
"""Pipeline that implements the file downloading.
"""Pipeline that implements file downloading.
This pipeline tries to minimize network transfers and file processing,
doing stat of the files and determining if file is new, up-to-date or

View File

@ -172,7 +172,8 @@ async def _send_catch_log_asyncio(
Returns a coroutine that completes once all signal handlers have finished.
This function an installed asyncio reactor or a running asyncio event loop.
This function requires an installed asyncio reactor or a running asyncio
event loop.
.. versionadded:: 2.14
"""

View File

@ -117,8 +117,8 @@ def strip_url(
- ``strip_credentials`` removes "user:password@"
- ``strip_default_port`` removes ":80" (resp. ":443", ":21")
from http:// (resp. https://, ftp://) URLs
- ``origin_only`` replaces path component with "/", also dropping
query component; it also strips credentials
- ``origin_only`` replaces the path component with "/", also dropping
the query component; it also strips credentials
- ``strip_fragment`` drops any #fragment component
"""