Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Fix some comments (#6285)

pengqiseven6e84648c0717
diff --git a/sep/sep-018.rst b/sep/sep-018.rst
index 9ac62c090..13ab501ed 100644
--- a/sep/sep-018.rst
+++ b/sep/sep-018.rst
@@ -140,7 +140,7 @@ Example:
The data flow with Spider Middleware v2 is as follows:
-1. When a response arrives from the engine, it it passed through all the spider
+1. When a response arrives from the engine, it is passed through all the spider
middlewares (in descending order). The result of each middleware
``process_response`` is kept and then returned along with the spider
callback result
diff --git a/tests/test_utils_python.py b/tests/test_utils_python.py
index 80d2e8da1..1d1d19146 100644
--- a/tests/test_utils_python.py
+++ b/tests/test_utils_python.py
@@ -175,7 +175,7 @@ class UtilsPythonTestCase(unittest.TestCase):
self.assertTrue(equal_attributes(a, b, ["x", "y"]))
a.y = 1
- # differente attributes
+ # different attributes
self.assertFalse(equal_attributes(a, b, ["x", "y"]))
# test callable