[Python-checkins] r62372 - python/trunk/Doc/library/ssl.rst

andrew.kuchling python-checkins at python.org
Fri Apr 18 04:40:47 CEST 2008


Author: andrew.kuchling
Date: Fri Apr 18 04:40:47 2008
New Revision: 62372

Log:
Use correct parameter name

Modified:
   python/trunk/Doc/library/ssl.rst

Modified: python/trunk/Doc/library/ssl.rst
==============================================================================
--- python/trunk/Doc/library/ssl.rst	(original)
+++ python/trunk/Doc/library/ssl.rst	Fri Apr 18 04:40:47 2008
@@ -508,7 +508,7 @@
                                    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)::


More information about the Python-checkins mailing list