Skip to content

Commit 8581d91

Browse files
committed
[4.1.x] Corrected wrap_socket() reference in docs/ref/settings.txt.
Backport of f9cdecf from main
1 parent e4aabf3 commit 8581d91

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/ref/settings.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,8 +1573,8 @@ SSL connection.
15731573
Note that setting :setting:`EMAIL_SSL_CERTFILE` and :setting:`EMAIL_SSL_KEYFILE`
15741574
doesn't result in any certificate checking. They're passed to the underlying SSL
15751575
connection. Please refer to the documentation of Python's
1576-
:func:`python:ssl.wrap_socket` function for details on how the certificate chain
1577-
file and private key file are handled.
1576+
:meth:`python:ssl.SSLContext.wrap_socket` function for details on how the
1577+
certificate chain file and private key file are handled.
15781578

15791579
.. setting:: EMAIL_TIMEOUT
15801580

0 commit comments

Comments
 (0)