]> granicus.if.org Git - python/commitdiff
Improve set_servername_callback docstring.
authorAntoine Pitrou <solipsis@pitrou.net>
Sat, 30 Mar 2013 15:40:27 +0000 (16:40 +0100)
committerAntoine Pitrou <solipsis@pitrou.net>
Sat, 30 Mar 2013 15:40:27 +0000 (16:40 +0100)
Modules/_ssl.c

index e69165bfc60eeb3ef6e5e1c4db45369688cb6ecf..835355a9d5cfebdc74c3ea5ee655b68c2d707c08 100644 (file)
@@ -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)