From: Andrew M. Kuchling Date: Fri, 18 Apr 2008 02:40:47 +0000 (+0000) Subject: Use correct parameter name X-Git-Tag: v2.6a3~172 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aea8d2e8cd4c0e2960b2a95e3de30e1a162d5573;p=thirdparty%2FPython%2Fcpython.git Use correct parameter name --- diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index bd16ca9ad888..fb41091cae65 100644 --- a/Doc/library/ssl.rst +++ b/Doc/library/ssl.rst @@ -508,7 +508,7 @@ end, and use :func:`wrap_socket` to create a server-side SSL context for it:: server_side=True, certfile="mycertfile", keyfile="mykeyfile", - ssl_protocol=ssl.PROTOCOL_TLSv1) + ssl_version=ssl.PROTOCOL_TLSv1) deal_with_client(connstream) Then you'd read data from the ``connstream`` and do something with it till you are finished with the client (or the client is finished with you)::