summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2013-03-30 15:40:27 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2013-03-30 15:40:27 (GMT)
commitedbc18e9d0c62e758a2de934873aa0f01f037d23 (patch)
treed1bfffc184e9770d5b97924f1567ac14a157b742 /Modules/_ssl.c
parenta596338bb890aff7a2e611226f398fae5892dc66 (diff)
downloadcpython-edbc18e9d0c62e758a2de934873aa0f01f037d23.zip
cpython-edbc18e9d0c62e758a2de934873aa0f01f037d23.tar.gz
cpython-edbc18e9d0c62e758a2de934873aa0f01f037d23.tar.bz2
Improve set_servername_callback docstring.
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r--Modules/_ssl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index e69165b..835355a 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -2503,13 +2503,13 @@ error:
PyDoc_STRVAR(PySSL_set_servername_callback_doc,
"set_servername_callback(method)\n\
-\
+\n\
This sets a callback that will be called when a server name is provided by\n\
the SSL/TLS client in the SNI extension.\n\
-\
+\n\
If the argument is None then the callback is disabled. The method is called\n\
with the SSLSocket, the server name as a string, and the SSLContext object.\n\
-See RFC 6066 for details of the SNI");
+See RFC 6066 for details of the SNI extension.");
static PyObject *
set_servername_callback(PySSLContext *self, PyObject *args)