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-04 19:53:56 +0200
commitd9ab9dbea6db7f7c8bbb5dc4a1e57e97c278fff9 (patch)
tree5cb1e2e7333a6eba8330d3b6b0e0e2e117f9f6d3
parentbc2d12637e8475fde9619bf6cd574896aa97621b (diff)
[5.0.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 3dc6edf333..7c716ee2ed 100644
--- a/docs/ref/settings.txt
+++ b/docs/ref/settings.txt
@@ -1529,8 +1529,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