From 2fa768399a27aca615bccfc7c466758a968f10fe Mon Sep 17 00:00:00 2001 From: Andrey Rakhmatullin Date: Fri, 15 Sep 2023 19:19:42 +0400 Subject: [PATCH] Replace the VERSION vars. --- docs/topics/settings.rst | 2 +- docs/topics/spiders.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst index 3006fb8b1..7cdfb8768 100644 --- a/docs/topics/settings.rst +++ b/docs/topics/settings.rst @@ -98,7 +98,7 @@ and settings set there should use the "spider" priority explicitly: super().update_settings(settings) settings.set("SOME_SETTING", "some value", priority="spider") -.. versionadded:: VERSION +.. versionadded:: 2.11 It's also possible to modify the settings in the :meth:`~scrapy.Spider.from_crawler` method, e.g. based on :ref:`spider diff --git a/docs/topics/spiders.rst b/docs/topics/spiders.rst index 1ca7eda7b..20452d558 100644 --- a/docs/topics/spiders.rst +++ b/docs/topics/spiders.rst @@ -136,7 +136,7 @@ scrapy.Spider attributes in the new instance so they can be accessed later inside the spider's code. - .. versionchanged:: VERSION + .. versionchanged:: 2.11 The settings in ``crawler.settings`` can now be modified in this method, which is handy if you want to modify them based on