From 98689b27a8839a21aed52ada44143456ead84e24 Mon Sep 17 00:00:00 2001 From: Andrey Rakhmatullin Date: Thu, 11 Jul 2019 14:02:35 +0500 Subject: [PATCH] Improve the DOWNLOADER_CLIENTCONTEXTFACTORY doc. --- docs/topics/settings.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/topics/settings.rst b/docs/topics/settings.rst index 5cc87bb64..53c624679 100644 --- a/docs/topics/settings.rst +++ b/docs/topics/settings.rst @@ -438,10 +438,10 @@ or even enable client-side authentication (and various other things). which uses the platform's certificates to validate remote endpoints. **This is only available if you use Twisted>=14.0.** -If you do use a custom ContextFactory, make sure its ``__init__` method accepts -a ``method`` parameter (this is the ``OpenSSL.SSL`` method mapping +If you do use a custom ContextFactory, make sure its ``__init__`` method +accepts a ``method`` parameter (this is the ``OpenSSL.SSL`` method mapping :setting:`DOWNLOADER_CLIENT_TLS_METHOD`) and a ``settings`` parameter (this is -the Scrapy settings object). +the Scrapy :class:`~scrapy.settings.Settings` object). .. setting:: DOWNLOADER_CLIENT_TLS_METHOD