summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2023-10-04 19:53:15 +0200
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-10-25 20:11:49 +0200
commit8581d916899ccd4fe4c09742c9b2b2d2bf3cc457 (patch)
tree299322a7d239d7e021f044e5bae0e259b176b22f
parente4aabf3f0f1638c8171962f92a8f8e9954c8636a (diff)
[4.1.x] Corrected wrap_socket() reference in docs/ref/settings.txt.
Backport of f9cdecfb0de40698eb2ce44c04068bb091fa8998 from main
-rw-r--r--docs/ref/settings.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
index 218de8f1d7..2fa7fffcf6 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -1573,8 +1573,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