Skip to content

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

Fix for python 3.11 (docs) check on pull request

pankaj1707k7fdbbd3ccb67
diff --git a/docs/topics/selectors.rst b/docs/topics/selectors.rst
index 80a979650..7f21e1583 100644
--- a/docs/topics/selectors.rst
+++ b/docs/topics/selectors.rst
@@ -548,6 +548,7 @@ For example, suppose you want to extract all ``<p>`` elements inside ``<div>``
elements. First, you would get all ``<div>`` elements:
.. code-block:: pycon
+
>>> divs = response.xpath("//div")
At first, you may be tempted to use the following approach, which is wrong, as