From aea8d2e8cd4c0e2960b2a95e3de30e1a162d5573 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Fri, 18 Apr 2008 02:40:47 +0000 Subject: Use correct parameter name --- Doc/library/ssl.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/ssl.rst b/Doc/library/ssl.rst index bd16ca9..fb41091 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):: -- cgit v0.12