Browse Source

[5.0.x] Corrected wrap_socket() reference in docs/ref/settings.txt.

Backport of f9cdecfb0de40698eb2ce44c04068bb091fa8998 from main
Mariusz Felisiak 1 year ago
parent
commit
d9ab9dbea6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/ref/settings.txt

+ 2 - 2
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