]> granicus.if.org Git - python/commitdiff
Use correct parameter name
authorAndrew M. Kuchling <amk@amk.ca>
Fri, 18 Apr 2008 02:40:47 +0000 (02:40 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Fri, 18 Apr 2008 02:40:47 +0000 (02:40 +0000)
Doc/library/ssl.rst

index bd16ca9ad888c8a22360b87a5a0807272c9dbabe..fb41091cae65e7f6f77eadee2e84077bf719637a 100644 (file)
@@ -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)::