From a9a3317a95fe25ac1f85dc5f6a9e525f02014c99 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Wed, 4 Oct 2023 19:53:15 +0200 Subject: [PATCH] [4.2.x] Corrected wrap_socket() reference in docs/ref/settings.txt. Backport of f9cdecfb0de40698eb2ce44c04068bb091fa8998 from main --- docs/ref/settings.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index db63c8ba94..960b0687b8 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -1568,8 +1568,8 @@ SSL connection. Note that setting :setting:`EMAIL_SSL_CERTFILE` and :setting:`EMAIL_SSL_KEYFILE` doesn't result in any certificate checking. They're passed to the underlying SSL connection. Please refer to the documentation of Python's -:func:`python:ssl.wrap_socket` function for details on how the certificate chain -file and private key file are handled. +:meth:`python:ssl.SSLContext.wrap_socket` function for details on how the +certificate chain file and private key file are handled. .. setting:: EMAIL_TIMEOUT